Changeset 1148 in tests for trunk/tests/canonical/permalinkFormats.php
- Timestamp:
- 11/21/2012 03:01:28 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/canonical/permalinkFormats.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/canonical/permalinkFormats.php
r1113 r1148 62 62 foreach ( $tests as $permalink_format => $expected ) { 63 63 update_option( 'permalink_structure', $permalink_format ); 64 64 65 65 // Get the rewrite rules 66 66 $rules = $wp_rewrite->generate_rewrite_rules( get_option( 'permalink_structure' ), EP_PERMALINK, false, false, false, false ); 67 67 68 68 // Filter out only the post rewrite rule 69 69 foreach ( $rules as $regex => $url ) {
Note: See TracChangeset
for help on using the changeset viewer.