[wp-trac] [WordPress Trac] #34619: Avoid using HTML tags in translation strings (wp-admin/includes/upgrade.php)

WordPress Trac noreply at wordpress.org
Wed Nov 11 20:43:31 UTC 2015


#34619: Avoid using HTML tags in translation strings (wp-
admin/includes/upgrade.php)
------------------------------+------------------
 Reporter:  ramiy             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.4
Component:  I18N              |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch commit
 * milestone:  Awaiting Review => 4.4


Comment:

 Replying to [comment:5 ramiy]:
 > Can we use `sprintf()` strings in both places?

 On second thought, I think [attachment:34619.3.patch] might work.

 We still need `str_replace()` for back-compat, but at least the string
 would now be correct.

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


More information about the wp-trac mailing list