[wp-trac] [WordPress Trac] #46694: Site Health: Debug copy field uses site locale, not user locale
WordPress Trac
noreply at wordpress.org
Thu Apr 4 19:03:15 UTC 2019
#46694: Site Health: Debug copy field uses site locale, not user locale
------------------------------------------+------------------------
Reporter: Clorith | Owner: desrosj
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.2
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: site-health has-patch commit | Focuses:
------------------------------------------+------------------------
Comment (by desrosj):
While reviewing this, I noticed that there are `function_exists()` checks
for `switch_to_locale()` and `restore_locale()`. I confirmed with @Clorith
that these were in the plugin version of Site Health for the purpose of
supporting older versions of WordPress. These are no longer needed, as all
WordPress 5.2 installs will have these functions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46694#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list