diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 18a4a0e4dc..ef57f4f286 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -1115,8 +1115,10 @@ function single_month_title($prefix = '', $display = true ) { * * @since 4.1.0 * - * @param string $before Optional. Content to prepend to the title. - * @param string $after Optional. Content to append to the title. + * @see get_the_archive_title() + * + * @param string $before Optional. Content to prepend to the title. Default empty. + * @param string $after Optional. Content to append to the title. Default empty. */ function the_archive_title( $before = '', $after = '' ) { $title = get_the_archive_title(); @@ -1189,8 +1191,10 @@ function get_the_archive_title() { * * @since 4.1.0 * - * @param string $before Optional. Content to prepend to the description. - * @param string $after Optional. Content to append to the description. + * @see get_the_archive_description() + * + * @param string $before Optional. Content to prepend to the description. Default empty. + * @param string $after Optional. Content to append to the description. Default empty. */ function the_archive_description( $before = '', $after = '' ) { $description = get_the_archive_description(); @@ -1214,6 +1218,8 @@ 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', term_description() );