Feed: Replace `join()` with `implode()` for safety.
Canonical functions should be used instead of aliases, because aliases can be deprecated or removed withough much notice. See r49193. Props SergeyBiryukov. See #51056. Built from https://develop.svn.wordpress.org/trunk@49805 git-svn-id: http://core.svn.wordpress.org/trunk@49528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
734f9bd9e2
commit
2ebc78cbf4
|
@ -87,7 +87,7 @@ class WP_SimplePie_File extends SimplePie_File {
|
||||||
if ( 'content-type' === $name ) {
|
if ( 'content-type' === $name ) {
|
||||||
$this->headers[ $name ] = array_pop( $value );
|
$this->headers[ $name ] = array_pop( $value );
|
||||||
} else {
|
} else {
|
||||||
$this->headers[ $name ] = join( ', ', $value );
|
$this->headers[ $name ] = implode( ', ', $value );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.7-alpha-49804';
|
$wp_version = '5.7-alpha-49805';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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