mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
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 `var`s to `private` without more testing. See #27881, #22234. git-svn-id: https://develop.svn.wordpress.org/trunk@28533 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3422,7 +3422,7 @@ class WP_Query {
|
||||
* @since 3.5.0
|
||||
* @access private
|
||||
*/
|
||||
function set_found_posts( $q, $limits ) {
|
||||
private function set_found_posts( $q, $limits ) {
|
||||
global $wpdb;
|
||||
|
||||
// Bail if posts is an empty array. Continue if posts is an empty string,
|
||||
|
||||
Reference in New Issue
Block a user