diff --git wp-includes/rewrite.php wp-includes/rewrite.php
index 2b48cdf..5bbaa9c 100644
|
|
function url_to_postid($url) { |
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 |