WordPress.org

Make WordPress Core

Opened 5 days ago

Last modified 5 days ago

#53153 assigned enhancement

Use one function for escaping and retrieving the translation

Reported by: dimadin Owned by: davidbaumwald
Milestone: 5.8 Priority: normal
Severity: trivial Version:
Component: I18N Keywords: has-patch commit
Focuses: Cc:

Description

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.

Change History (2)

#2 @SergeyBiryukov
5 days ago

  • Component changed from General to I18N
  • Keywords commit added
  • Milestone changed from Awaiting Review to 5.8
  • Owner set to davidbaumwald
  • Status changed from new to assigned

Thanks for the PR, looks good to me :)

Note: See TracTickets for help on using tickets.