mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@49805 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user