- Timestamp:
- 02/22/2020 12:05:12 PM (6 years ago)
- Location:
- branches/3.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/query/verboseRewriteRules.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
-
branches/3.7/tests/phpunit/tests/query/verboseRewriteRules.php
r25002 r47343 9 9 class Tests_Query_VerbosePageRules extends Tests_Query_Conditionals { 10 10 function setUp() { 11 global $wp_rewrite; 12 11 13 parent::setUp(); 12 global $wp_rewrite; 13 update_option( 'permalink_structure', '/%category%/%year%/%postname%/' ); 14 15 $wp_rewrite->init(); 16 $wp_rewrite->set_permalink_structure( '/%category%/%year%/%postname%/' ); 17 14 18 create_initial_taxonomies(); 15 $GLOBALS['wp_rewrite']->init(); 16 flush_rewrite_rules();19 20 $wp_rewrite->flush_rules(); 17 21 } 18 22 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)