Ticket #26827: patch.diff
File patch.diff, 609 bytes (added by , 11 years ago) |
---|
-
rewrite.php
354 354 if ( !empty($url) && ($url != $request) && (strpos($match, $url) === 0) ) 355 355 $request_match = $url . '/' . $request; 356 356 357 if ( preg_match(" !^$match!", $request_match, $matches) ) {357 if ( preg_match("`^$match`", $request_match, $matches) ) { 358 358 359 359 if ( $wp_rewrite->use_verbose_page_rules && preg_match( '/pagename=\$matches\[([0-9]+)\]/', $query, $varmatch ) ) { 360 360 // this is a verbose page match, lets check to be sure about it