mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Using let's properly in inline comments lets us move on to more pressing matters of inline documentation.
Props trepmal. Fixes #30570. git-svn-id: https://develop.svn.wordpress.org/trunk@30703 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -363,7 +363,7 @@ function url_to_postid($url) {
|
||||
if ( preg_match("#^$match#", $request_match, $matches) ) {
|
||||
|
||||
if ( $wp_rewrite->use_verbose_page_rules && preg_match( '/pagename=\$matches\[([0-9]+)\]/', $query, $varmatch ) ) {
|
||||
// this is a verbose page match, lets check to be sure about it
|
||||
// This is a verbose page match, let's check to be sure about it.
|
||||
if ( ! get_page_by_path( $matches[ $varmatch[1] ] ) )
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user