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

WordPress Trac noreply at wordpress.org
Tue May 4 14:19:11 UTC 2021


#53153: Use one function for escaping and retrieving the translation
-------------------------+-----------------------------
 Reporter:  dimadin      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  trivial      |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------------
 There are a few places that use functions for translating text and then
 escape that text using functions for escaping. Instead, we can use
 functions that translate and escape text in one pass, like it's done in
 the rest of the code.

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


More information about the wp-trac mailing list