mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Move term_description() reference from filter docblock to get_the_archive_description() function docblock.
Props dlh. See #37259. git-svn-id: https://develop.svn.wordpress.org/trunk@38495 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1527,6 +1527,8 @@ function the_archive_description( $before = '', $after = '' ) {
|
||||
* @since 4.1.0
|
||||
* @since 4.7.0 Added support for author archives.
|
||||
*
|
||||
* @see term_description()
|
||||
*
|
||||
* @return string Archive description.
|
||||
*/
|
||||
function get_the_archive_description() {
|
||||
@@ -1541,8 +1543,6 @@ function get_the_archive_description() {
|
||||
*
|
||||
* @since 4.1.0
|
||||
*
|
||||
* @see term_description()
|
||||
*
|
||||
* @param string $description Archive description to be displayed.
|
||||
*/
|
||||
return apply_filters( 'get_the_archive_description', $description );
|
||||
|
||||
Reference in New Issue
Block a user