From a31133173ddd6e9f5f73db9f9788e6d532cab64d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 10 Nov 2019 01:43:55 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issue in [46690]. See #41880. git-svn-id: https://develop.svn.wordpress.org/trunk@46692 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index c47995d2aa..d7a4a6f1f4 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -971,7 +971,7 @@ class WP_Http { if ( ! empty( $relative_url_parts['path'] ) && '/' == $relative_url_parts['path'][0] ) { $path = $relative_url_parts['path']; - // Else it's a relative path. + // Else it's a relative path. } elseif ( ! empty( $relative_url_parts['path'] ) ) { // Strip off any file components from the absolute path. $path = substr( $path, 0, strrpos( $path, '/' ) + 1 );