[wp-trac] [WordPress Trac] #53153: Use one function for escaping and retrieving the translation

WordPress Trac noreply at wordpress.org
Wed May 19 18:09:42 UTC 2021


#53153: Use one function for escaping and retrieving the translation
------------------------------+----------------------------
 Reporter:  dimadin           |       Owner:  davidbaumwald
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  I18N              |     Version:
 Severity:  trivial           |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------------
Changes (by davidbaumwald):

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


Comment:

 In [changeset:"50931" 50931]:
 {{{
 #!CommitTicketReference repository="" revision="50931"
 I18N: Combine escaping and translation functions.

 There are a few instances where two separate functions are used for both
 escaping and translating output.  This change combines the two functions
 into the appropriate Core helper function.

 Props dimadin, SergeyBiryukov.
 Fixes #53153.
 }}}

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


More information about the wp-trac mailing list