X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f5fcdc7994bb67cce809bc4777944ae8b7fad4a4..refs/tags/wordpress-4.3:/wp-admin/includes/theme-install.php diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index ded1324d..5ae364d3 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -50,6 +50,8 @@ function install_themes_feature_list() { * Display search form for searching themes. * * @since 2.8.0 + * + * @param bool $type_selector */ function install_theme_search_form( $type_selector = true ) { $type = isset( $_REQUEST['type'] ) ? wp_unslash( $_REQUEST['type'] ) : 'term'; @@ -132,8 +134,10 @@ function install_themes_dashboard() {

@@ -144,12 +148,15 @@ function install_themes_upload() { display(); } -// add_action('install_themes_search', 'display_themes'); -// add_action('install_themes_featured', 'display_themes'); -// add_action('install_themes_new', 'display_themes'); -// add_action('install_themes_updated', 'display_themes'); /** * Display theme information in dialog box form. * * @since 2.8.0 + * + * @global WP_Theme_Install_List_Table $wp_list_table */ function install_theme_information() { global $wp_list_table; @@ -202,4 +209,3 @@ function install_theme_information() { iframe_footer(); exit; } -add_action('install_themes_pre_theme-information', 'install_theme_information');