Make WordPress Core

Changeset 34689


Ignore:
Timestamp:
09/29/2015 06:38:02 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Move the hook doc to once again directly precede the hook line for the getarchives_where filter following [34686].

See #21596.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r34686 r34689  
    14411441    }
    14421442
     1443    $sql_where = $wpdb->prepare( "WHERE post_type = %s AND post_status = 'publish'", $r['post_type'] );
     1444
    14431445    /**
    14441446     * Filter the SQL WHERE clause for retrieving archives.
     
    14491451     * @param array  $r         An array of default arguments.
    14501452     */
    1451     $sql_where = $wpdb->prepare( "WHERE post_type = %s AND post_status = 'publish'", $r['post_type'] );
    14521453    $where = apply_filters( 'getarchives_where', $sql_where, $r );
    14531454
Note: See TracChangeset for help on using the changeset viewer.