// End if 'update_themes' && 'wp_is_auto_update_enabled_for_type'.
get_current_screen()->
set_help_sidebar( '<p><strong>' .
__( 'For more information:'
) . '</strong></p>' .
'<p>' .
__( '<a href="https://wordpress.org/documentation/article/work-with-themes/">Documentation on Using Themes</a>'
) . '</p>' .
'<p>' .
__( '<a href="https://wordpress.org/documentation/article/appearance-themes-screen/">Documentation on Managing Themes</a>'
) . '</p>' .
$help_sidebar_autoupdates .
'<p>' .
__( '<a href="https://wordpress.org/support/forums/">Support forums</a>'
) . '</p>'
);
if ( current_user_can( 'switch_themes'
) ) { $themes =
wp_prepare_themes_for_js();
} else { $themes =
wp_prepare_themes_for_js( array
( wp_get_theme() ) );
}wp_reset_vars( array
( 'theme', 'search'
) );
wp_localize_script( 'theme',
'_wpThemeSettings',
array
( 'themes' =>
$themes,
'settings' => array
(