Changeset 43571 for trunk/tests/phpunit/tests/rewrite.php
- Timestamp:
- 08/17/2018 01:50:26 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/rewrite.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite.php
r42343 r43571 54 54 55 55 $wp_rewrite->add_rule( 56 $pattern, array( 56 $pattern, 57 array( 57 58 'test_var1' => '$matches[1]', 58 59 'test_var2' => '1', … … 283 284 'page' => '', 284 285 'pagename' => 'page', 285 ), $GLOBALS['wp']->query_vars 286 ), 287 $GLOBALS['wp']->query_vars 286 288 ); 287 289 } … … 303 305 'page' => '', 304 306 'pagename' => 'page', 305 ), $GLOBALS['wp']->query_vars 307 ), 308 $GLOBALS['wp']->query_vars 306 309 ); 307 310 … … 311 314 'page' => '', 312 315 'pagename' => 'page', 313 ), $GLOBALS['wp']->query_vars 316 ), 317 $GLOBALS['wp']->query_vars 314 318 ); 315 319 $this->assertEquals( … … 317 321 'page' => '', 318 322 'pagename' => 'match/page', 319 ), $GLOBALS['wp']->query_vars 323 ), 324 $GLOBALS['wp']->query_vars 320 325 ); 321 326 }
Note: See TracChangeset
for help on using the changeset viewer.