X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/874d2a2f468a0d1e69aab49b1fe2d9d79d3e1142..e8f61417994be715a90671aa87f1cd70d8ba132a:/wp-admin/plugin-install.php?ds=sidebyside diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php index 4140d36b..c9f2b50f 100644 --- a/wp-admin/plugin-install.php +++ b/wp-admin/plugin-install.php @@ -54,10 +54,12 @@ if ( 'plugin-information' != $tab ) $body_id = $tab; +wp_enqueue_script( 'updates' ); + /** * Fires before each tab on the Install Plugins screen is loaded. * - * The dynamic portion of the action hook, $tab, allows for targeting + * The dynamic portion of the action hook, `$tab`, allows for targeting * individual tabs, for instance 'install_plugins_pre_plugin-information'. * * @since 2.7.0 @@ -82,17 +84,23 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . - '

' . __('Documentation on Installing Plugins') . '

' . + '

' . __('Documentation on Installing Plugins') . '

' . '

' . __('Support Forums') . '

' ); +get_current_screen()->set_screen_reader_content( array( + 'heading_views' => __( 'Filter plugins list' ), + 'heading_pagination' => __( 'Plugins list navigation' ), + 'heading_list' => __( 'Plugins list' ), +) ); + /** * WordPress Administration Template Header. */ include(ABSPATH . 'wp-admin/admin-header.php'); ?>
-

+

' . $text . ''; + echo ' ' . $text . ''; } ?> -

+ - +do_action( "install_plugins_$tab", $paged ); ?>
+