Changeset 38486
- Timestamp:
- 08/31/2016 11:00:36 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r38477 r38486 1506 1506 1507 1507 /** 1508 * Display category, tag, or termdescription.1508 * Display category, tag, term, or author description. 1509 1509 * 1510 1510 * @since 4.1.0 … … 1523 1523 1524 1524 /** 1525 * Retrieve category, tag, or termdescription.1525 * Retrieve category, tag, term, or author description. 1526 1526 * 1527 1527 * @since 4.1.0 1528 * @since 4.7.0 Added support for author archives. 1528 1529 * 1529 1530 * @return string Archive description. 1530 1531 */ 1531 1532 function get_the_archive_description() { 1533 if ( is_author() ) { 1534 $description = get_the_author_meta( 'description' ); 1535 } else { 1536 $description = term_description(); 1537 } 1538 1532 1539 /** 1533 1540 * Filters the archive description.
Note: See TracChangeset
for help on using the changeset viewer.