[wp-trac] [WordPress Trac] #31860: Avoid using HTML tags in translation strings (wp-admin/includes/class-wp-upgrader-skins.php)‎

WordPress Trac noreply at wordpress.org
Sun Sep 20 07:09:22 UTC 2015


#31860: Avoid using HTML tags in translation strings (wp-admin/includes/class-wp-
upgrader-skins.php)‎
-------------------------------------+-----------------------------
 Reporter:  ramiy                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.4
Component:  I18N                     |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------

Comment (by ramiy):

 @wonderboymusic no translator string needed in this patch.

 Those are `__()` strings, not `sprintf()`.

 They are added using the `add_strings()` method, and echoed in other
 places - see `after()` method.

 Seems like each `sprintf()` has it's own parameters passed to those
 strings.

 What I'm trying to say, this patch can be committed as it is.

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


More information about the wp-trac mailing list