diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
index afc3b39..8e946de 100644
|
|
|
function the_archive_description( $before = '', $after = '' ) { |
| 1529 | 1529 | * @return string Archive description. |
| 1530 | 1530 | */ |
| 1531 | 1531 | function get_the_archive_description() { |
| | 1532 | if ( is_author() ) { |
| | 1533 | $description = get_the_author_meta( 'description' ) ? get_the_author_meta( 'description' ) : ''; |
| | 1534 | } else { |
| | 1535 | $description = term_description(); |
| | 1536 | } |
| | 1537 | |
| 1532 | 1538 | /** |
| 1533 | 1539 | * Filters the archive description. |
| 1534 | 1540 | * |
| … |
… |
function get_the_archive_description() { |
| 1538 | 1544 | * |
| 1539 | 1545 | * @param string $description Archive description to be displayed. |
| 1540 | 1546 | */ |
| 1541 | | return apply_filters( 'get_the_archive_description', term_description() ); |
| | 1547 | return apply_filters( 'get_the_archive_description', $description ); |
| 1542 | 1548 | } |
| 1543 | 1549 | |
| 1544 | 1550 | /** |