[wp-trac] [WordPress Trac] #46645: Site health: timeout on the "Info" tab
WordPress Trac
noreply at wordpress.org
Fri Mar 29 11:45:57 UTC 2019
#46645: Site health: timeout on the "Info" tab
-----------------------------------+------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: site-health has-patch | Focuses: multisite
-----------------------------------+------------------------
Comment (by afercia):
Question: see https://core.trac.wordpress.org/browser/trunk/src/wp-admin
/site-health-info.php?rev=45068&marks=64-68#L63
{{{
WP_Debug_Data::check_for_updates();
$info = WP_Debug_Data::debug_data();
$english_info = '';
if ( 0 !== strpos( get_locale(), 'en' ) ) {
$english_info = WP_Debug_Data::debug_data( 'en_US'
);
}
}}}
Does this means with a locale other than English all the checks will run
twice? Maybe not so... ideal? If so, all the performance calculations made
here should be doubled for non-English locale :)
Aside: this will be changed to check for the user locale in #46694.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46645#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list