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

WordPress Trac noreply at wordpress.org
Sat Jul 8 09:49:46 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:
-------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:20 swissspidy]:
 > Things like `__( 'Archives: ' );` aren't really great fro translators
 though. Then I'd rather prefer `<span>` elements inside the strings.

 The trailing space should be moved out of the strings, otherwise I think
 it's fine. Maybe @ocean90 can take a look if any locales do something with
 these strings that would no longer be possible with the patch?

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


More information about the wp-trac mailing list