Changeset 34802 for trunk/tests/phpunit/tests/rewrite/oldSlugRedirect.php
- Timestamp:
- 10/03/2015 05:14:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite/oldSlugRedirect.php
r34685 r34802 35 35 36 36 remove_filter( 'old_slug_redirect_url', array( $this, 'filter_old_slug_redirect_url' ), 10 ); 37 38 global $wp_rewrite;39 40 $wp_rewrite->set_permalink_structure( '' );41 $wp_rewrite->init();42 37 } 43 38
Note: See TracChangeset
for help on using the changeset viewer.