Docs: Replace multiple single line comments with multi-line comments.
This changeset updates various comments as per WordPress PHP Inline Documentation Standards. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments. Follow-up to [56174], [56175], [56176], [56177], [56178], [56179]. Props costdev, audrasjb. See #58459. Built from https://develop.svn.wordpress.org/trunk@56180 git-svn-id: http://core.svn.wordpress.org/trunk@55692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -200,8 +200,7 @@ class WP {
|
||||
$self = trim( $self, '/' );
|
||||
}
|
||||
|
||||
// The requested permalink is in $pathinfo for path info requests and
|
||||
// $req_uri for other requests.
|
||||
// The requested permalink is in $pathinfo for path info requests and $req_uri for other requests.
|
||||
if ( ! empty( $pathinfo ) && ! preg_match( '|^.*' . $wp_rewrite->index . '$|', $pathinfo ) ) {
|
||||
$requested_path = $pathinfo;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user