Changeset 44701 for trunk/tests/phpunit/tests/post/query.php
- Timestamp:
- 01/28/2019 02:10:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/query.php
r44456 r44701 720 720 $q->posts = $posts; 721 721 722 $methd = new \ReflectionMethod( 'WP_Query', 'set_found_posts' );722 $methd = new ReflectionMethod( 'WP_Query', 'set_found_posts' ); 723 723 $methd->setAccessible( true ); 724 724 $methd->invoke( $q, array( 'no_found_rows' => false ), array() );
Note: See TracChangeset
for help on using the changeset viewer.