Changeset 7666
- Timestamp:
- 04/14/2008 05:19:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-includes/rewrite.php
r7583 r7666 994 994 // Enable generic rules for pages if permalink structure doesn't begin with a wildcard. 995 995 $structure = ltrim($this->permalink_structure, '/'); 996 if ( $this->using_index_permalinks() ) 997 $structure = ltrim($this->permalink_structure, $this->index . '/'); 996 998 if ( 0 === strpos($structure, '%postname%') || 997 999 0 === strpos($structure, '%category%') ||
Note: See TracChangeset
for help on using the changeset viewer.