diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-admin/site-health.php --- a/wp/wp-admin/site-health.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-admin/site-health.php Fri Sep 05 18:40:08 2025 +0200 @@ -9,7 +9,7 @@ /** WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; -wp_reset_vars( array( 'action' ) ); +$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : ''; $tabs = array( /* translators: Tab heading for Site Health Status page. */ @@ -19,7 +19,7 @@ ); /** - * An associative array of extra tabs for the Site Health navigation bar. + * Filters the extra tabs for the Site Health navigation bar. * * Add a custom page to the Site Health screen, based on a tab slug and label. * The label you provide will also be used as part of the site title. @@ -87,7 +87,7 @@ get_current_screen()->set_help_sidebar( '
' . __( 'For more information:' ) . '
' . - '' . __( 'Documentation on Site Health tool' ) . '
' + '' . __( 'Documentation on Site Health tool' ) . '
' ); // Start by checking if this is a special request checking for the existence of certain filters. @@ -105,20 +105,30 @@ -