Changeset 45607 for trunk/tests/phpunit/tests/rest-api.php
- Timestamp:
- 07/08/2019 12:55:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api.php
r44568 r45607 256 256 function test_rest_route_query_var() { 257 257 rest_api_init(); 258 $this->assertTrue( in_array( 'rest_route', $GLOBALS['wp']->public_query_vars ) );258 $this->assertTrue( in_array( 'rest_route', $GLOBALS['wp']->public_query_vars, true ) ); 259 259 } 260 260
Note: See TracChangeset
for help on using the changeset viewer.