[wp-trac] [WordPress Trac] #51871: Site Health actions that use the REST API receive an untranslated response
WordPress Trac
noreply at wordpress.org
Tue Dec 1 12:08:16 UTC 2020
#51871: Site Health actions that use the REST API receive an untranslated response
---------------------------------+--------------------------------
Reporter: oglekler | Owner: TimothyBlynJacobs
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 5.6
Component: Site Health | Version: 5.6
Severity: normal | Resolution:
Keywords: commit dev-reviewed | Focuses: rest-api
---------------------------------+--------------------------------
Changes (by SergeyBiryukov):
* keywords: 2nd-opinion => commit dev-reviewed
Comment:
[49716] looks good to me to backport.
It might also be a good idea to only call `load_textdomain()` once (for
example, having a flag in a static variable) and not several times in a
row. That could be addressed in a follow-up commit, or could be a future
enhancement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51871#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list