Changeset 42597 for branches/4.9/src/wp-includes/class-wp-query.php
- Timestamp:
- 01/24/2018 09:43:17 PM (8 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-wp-query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 42581,42585,42594
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-includes/class-wp-query.php
r41688 r42597 3033 3033 $this->found_posts = $wpdb->get_var( apply_filters_ref_array( 'found_posts_query', array( 'SELECT FOUND_ROWS()', &$this ) ) ); 3034 3034 } else { 3035 $this->found_posts = count( $this->posts ); 3035 if ( is_array( $this->posts ) ) { 3036 $this->found_posts = count( $this->posts ); 3037 } else { 3038 if ( null === $this->posts ) { 3039 $this->found_posts = 0; 3040 } else { 3041 $this->found_posts = 1; 3042 } 3043 } 3036 3044 } 3037 3045
Note: See TracChangeset
for help on using the changeset viewer.