[wp-trac] [WordPress Trac] #38545: Add span element to get_the_archive_title()
WordPress Trac
noreply at wordpress.org
Fri Jul 3 19:59:14 UTC 2020
#38545: Add span element to get_the_archive_title()
---------------------------------------------+------------------------
Reporter: Kaira | Owner: ocean90
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.5
Component: Taxonomy | Version: 4.6.1
Severity: normal | Resolution:
Keywords: has-patch needs-dev-note commit | Focuses:
---------------------------------------------+------------------------
Changes (by ocean90):
* keywords: has-patch needs-dev-note => has-patch needs-dev-note commit
Comment:
Moved [attachment:"38545.15.diff"] into a PR in
https://github.com/WordPress/wordpress-develop/pull/387 with the following
changes:
* Fix PHPCS issues.
* Add context to all new strings.
* Combine title and prefix only when prefix is set.
* Add the span tag around `$title`.
* Pass the `$prefix` parameter to `get_the_archive_title` filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38545#comment:94>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list