Coding Standards: Fix WPCS issue in [46690].
See #41880. Built from https://develop.svn.wordpress.org/trunk@46692 git-svn-id: http://core.svn.wordpress.org/trunk@46492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b0ddfb2435
commit
adf35e9217
|
@ -971,7 +971,7 @@ class WP_Http {
|
||||||
if ( ! empty( $relative_url_parts['path'] ) && '/' == $relative_url_parts['path'][0] ) {
|
if ( ! empty( $relative_url_parts['path'] ) && '/' == $relative_url_parts['path'][0] ) {
|
||||||
$path = $relative_url_parts['path'];
|
$path = $relative_url_parts['path'];
|
||||||
|
|
||||||
// Else it's a relative path.
|
// Else it's a relative path.
|
||||||
} elseif ( ! empty( $relative_url_parts['path'] ) ) {
|
} elseif ( ! empty( $relative_url_parts['path'] ) ) {
|
||||||
// Strip off any file components from the absolute path.
|
// Strip off any file components from the absolute path.
|
||||||
$path = substr( $path, 0, strrpos( $path, '/' ) + 1 );
|
$path = substr( $path, 0, strrpos( $path, '/' ) + 1 );
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-alpha-46691';
|
$wp_version = '5.4-alpha-46692';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue