Docs: Add a `@since` note to `get_the_archive_title()` about the title part being wrapped in a `<span>` element.

Follow-up to [48294].

Props justinahinon, audrasjb.
Merges [48814] to the 5.5 branch.
Fixes #51050.
Built from https://develop.svn.wordpress.org/branches/5.5@48815


git-svn-id: http://core.svn.wordpress.org/branches/5.5@48577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-08-18 12:07:05 +00:00
parent 62a5dbff7b
commit 65a1d15089
2 changed files with 2 additions and 1 deletions

View File

@ -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 `<span>` element.
*
* @return string Archive title.
*/

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5.1-alpha-48813';
$wp_version = '5.5.1-alpha-48815';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.