X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/41578db67d72562346e4dbb2a14889b23d522813..784f914b1e4b1c62d6657e86397c2e83bcee4295:/wp-admin/includes/theme-install.php diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 0a28e0fa..27538b74 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'; @@ -57,7 +59,7 @@ function install_theme_search_form( $type_selector = true ) { if ( ! $type_selector ) echo '

' . __( 'Search for themes by keyword.' ) . '

'; ?> -
+ @@ -99,7 +101,7 @@ function install_themes_dashboard() {

- +

- - + + +
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 +210,3 @@ function install_theme_information() { iframe_footer(); exit; } -add_action('install_themes_pre_theme-information', 'install_theme_information');