#53153 closed enhancement (fixed)
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 (4)
This ticket was mentioned in PR #1225 on WordPress/wordpress-develop by dimadin.
3 years ago
#1
#2
@
3 years 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 :)
dream-encode commented on PR #1225:
3 years ago
#4
Merged into core in https://core.trac.wordpress.org/changeset/50931.
Note: See
TracTickets for help on using
tickets.
https://core.trac.wordpress.org/ticket/53153