mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +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:
parent
55c1f81e49
commit
2ea3033c0d
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user