Make WordPress Core


Ignore:
Timestamp:
05/19/2014 05:40:08 PM (10 years ago)
Author:
wonderboymusic
Message:

WP_Query was only missing one access modifier.

Add access modifier (public) to applicable class methods/members of WP_Rewrite. I am not brave enough to set some of the vars to private without more testing.

See #27881, #22234.

File:
1 edited

Legend:

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

    r28523 r28533  
    34233423     * @access private
    34243424     */
    3425     function set_found_posts( $q, $limits ) {
     3425    private function set_found_posts( $q, $limits ) {
    34263426        global $wpdb;
    34273427
Note: See TracChangeset for help on using the changeset viewer.