Make WordPress Core

Ticket #37259: 37259.2.diff

File 37259.2.diff, 758 bytes (added by dlh, 9 years ago)
  • src/wp-includes/general-template.php

     
    15271527 * @since 4.1.0
    15281528 * @since 4.7.0 Added support for author archives.
    15291529 *
     1530 * @see term_description()
     1531 *
    15301532 * @return string Archive description.
    15311533 */
    15321534function get_the_archive_description() {
     
    15411543         *
    15421544         * @since 4.1.0
    15431545         *
    1544          * @see term_description()
    1545          *
    15461546         * @param string $description Archive description to be displayed.
    15471547         */
    1548         return apply_filters( 'get_the_archive_description', term_description() );
     1548        return apply_filters( 'get_the_archive_description', $description );
    15491549}
    15501550
    15511551/**