From 89ea6ce55264a82ad3af28a1d434eb2b6208a561 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 18 Aug 2020 12:03:24 +0000 Subject: [PATCH] Docs: Add a `@since` note to `get_the_archive_title()` about the title part being wrapped in a `` element. Follow-up to [48294]. Props justinahinon, audrasjb. Fixes #51050. git-svn-id: https://develop.svn.wordpress.org/trunk@48814 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 6aa84ff654..efb682ad12 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -1645,6 +1645,7 @@ function the_archive_title( $before = '', $after = '' ) { * Retrieve the archive title based on the queried object. * * @since 4.1.0 + * @since 5.5.0 The title part is wrapped in a `` element. * * @return string Archive title. */