[wp-trac] [WordPress Trac] #47159: Do not use placeholders for HTML tags in strings

WordPress Trac noreply at wordpress.org
Fri May 17 00:52:41 UTC 2019


#47159: Do not use placeholders for HTML tags in strings
--------------------------+-----------------------------
 Reporter:  dimadin       |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.2.1
Component:  I18N          |     Version:  5.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45334" 45334]:
 {{{
 #!CommitTicketReference repository="" revision="45334"
 I18N: Avoid using placeholders for link start and end tags in alt text
 description strings added in [45158].

 Use an established pattern of moving additional link attributes out of the
 translatable string.

 Props dimadin.
 Fixes #47159.
 }}}

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


More information about the wp-trac mailing list