X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/874d2a2f468a0d1e69aab49b1fe2d9d79d3e1142..fcaa67f093b5c83deea7a361a8cf8c6ac4e832d3:/wp-admin/plugin-install.php diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php index 4140d36b..be8e80f6 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,7 +84,7 @@ 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') . '

' ); @@ -117,17 +119,19 @@ if ( $tab !== 'upload' ) { /** * Fires after the plugins list table in each tab of the Install Plugins screen. * - * 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_plugin-information'. * * @since 2.7.0 * * @param int $paged The current page number of the plugins list table. */ -?> - +do_action( "install_plugins_$tab", $paged ); ?> +