X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/41578db67d72562346e4dbb2a14889b23d522813..e3ff8f35458a959c1879c0a4976701ed8dcfe651:/wp-admin/includes/theme-install.php diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 0a28e0fa..31ce5f79 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -29,7 +29,7 @@ $theme_field_defaults = array( 'description' => true, 'sections' => false, 'test * @return array */ function install_themes_feature_list() { - _deprecated_function( __FUNCTION__, '3.1', 'get_theme_feature_list()' ); + _deprecated_function( __FUNCTION__, '3.1.0', 'get_theme_feature_list()' ); if ( !$cache = get_transient( 'wporg_theme_feature_list' ) ) set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS ); @@ -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.' ) . '

'; ?> -
+ @@ -83,7 +85,7 @@ function install_theme_search_form( $type_selector = true ) { - +

-
+
- +

- - - + + + +
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');