Changeset 19017 for trunk/wp-includes/class-wp.php
- Timestamp:
- 10/19/2011 10:49:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp.php
r18995 r19017 202 202 preg_match("#^$match#", urldecode($request_match), $matches) ) { 203 203 204 if ( $wp_rewrite->use_verbose_page_rules && preg_match( '/pagename=\$ ([^&\[]+)\[([0-9]+)\]/', $query, $varmatch ) ) {204 if ( $wp_rewrite->use_verbose_page_rules && preg_match( '/pagename=\$matches\[([0-9]+)\]/', $query, $varmatch ) ) { 205 205 // this is a verbose page match, lets check to be sure about it 206 if ( ! get_page_by_path( $ {$varmatch[1]}[$varmatch[2]] ) )206 if ( ! get_page_by_path( $matches[ $varmatch[1] ] ) ) 207 207 continue; 208 208 }
Note: See TracChangeset
for help on using the changeset viewer.