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:
parent
62a5dbff7b
commit
65a1d15089
|
@ -1645,6 +1645,7 @@ function the_archive_title( $before = '', $after = '' ) {
|
||||||
* Retrieve the archive title based on the queried object.
|
* Retrieve the archive title based on the queried object.
|
||||||
*
|
*
|
||||||
* @since 4.1.0
|
* @since 4.1.0
|
||||||
|
* @since 5.5.0 The title part is wrapped in a `<span>` element.
|
||||||
*
|
*
|
||||||
* @return string Archive title.
|
* @return string Archive title.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue