WordPress.org

Make WordPress Core

Changeset 49805


Ignore:
Timestamp:
12/16/2020 02:03:56 PM (5 months ago)
Author:
iandunn
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-simplepie-file.php

    r49803 r49805  
    8888                        $this->headers[ $name ] = array_pop( $value );
    8989                    } else {
    90                         $this->headers[ $name ] = join( ', ', $value );
     90                        $this->headers[ $name ] = implode( ', ', $value );
    9191                    }
    9292                }
Note: See TracChangeset for help on using the changeset viewer.