Commit 3d2fbc52 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Docs: Add a `@since` note to `get_the_archive_title()` about the title part...

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: https://core.svn.wordpress.org/branches/5.5@48577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 437791f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.
 */
+1 −1
Original line number Diff line number Diff line
@@ -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.