[wp-trac] [WordPress Trac] #38545: Add span element to get_the_archive_title()

WordPress Trac noreply at wordpress.org
Sun Feb 5 14:26:47 UTC 2017


#38545: Add span element to get_the_archive_title()
-------------------------------------+------------------------------
 Reporter:  Kaira                    |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Taxonomy                 |     Version:  4.6.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 [attachment:38545.3.patch].

 * needs to update the inline docs for the function
 * the class names should be escaped
 * this is not good for i18n. For example, right now we have `__( 'Tag: %s'
 )`, suggested ist: `__( 'Tag: ' )`. And the translator comment isn't
 adjusted.

 See also #31237.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38545#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list