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:
iandunn 2020-12-16 14:05:07 +00:00
parent 734f9bd9e2
commit 2ebc78cbf4
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ class WP_SimplePie_File extends SimplePie_File {
if ( 'content-type' === $name ) {
$this->headers[ $name ] = array_pop( $value );
} else {
$this->headers[ $name ] = join( ', ', $value );
$this->headers[ $name ] = implode( ', ', $value );
}
}

View File

@ -13,7 +13,7 @@
*
* @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.