wp/wp-admin/includes/theme-install.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    49 	'tags'         => true,
    49 	'tags'         => true,
    50 	'num_ratings'  => true,
    50 	'num_ratings'  => true,
    51 );
    51 );
    52 
    52 
    53 /**
    53 /**
    54  * Retrieve list of WordPress theme features (aka theme tags).
    54  * Retrieves the list of WordPress theme features (aka theme tags).
    55  *
    55  *
    56  * @since 2.8.0
    56  * @since 2.8.0
    57  *
    57  *
    58  * @deprecated 3.1.0 Use get_theme_feature_list() instead.
    58  * @deprecated 3.1.0 Use get_theme_feature_list() instead.
    59  *
    59  *
    80 
    80 
    81 	return $feature_list;
    81 	return $feature_list;
    82 }
    82 }
    83 
    83 
    84 /**
    84 /**
    85  * Display search form for searching themes.
    85  * Displays search form for searching themes.
    86  *
    86  *
    87  * @since 2.8.0
    87  * @since 2.8.0
    88  *
    88  *
    89  * @param bool $type_selector
    89  * @param bool $type_selector
    90  */
    90  */
   127 </form>
   127 </form>
   128 	<?php
   128 	<?php
   129 }
   129 }
   130 
   130 
   131 /**
   131 /**
   132  * Display tags filter for themes.
   132  * Displays tags filter for themes.
   133  *
   133  *
   134  * @since 2.8.0
   134  * @since 2.8.0
   135  */
   135  */
   136 function install_themes_dashboard() {
   136 function install_themes_dashboard() {
   137 	install_theme_search_form( false );
   137 	install_theme_search_form( false );
   207 	$wp_list_table->prepare_items();
   207 	$wp_list_table->prepare_items();
   208 	$wp_list_table->single_row( $theme );
   208 	$wp_list_table->single_row( $theme );
   209 }
   209 }
   210 
   210 
   211 /**
   211 /**
   212  * Display theme content based on theme list.
   212  * Displays theme content based on theme list.
   213  *
   213  *
   214  * @since 2.8.0
   214  * @since 2.8.0
   215  *
   215  *
   216  * @global WP_Theme_Install_List_Table $wp_list_table
   216  * @global WP_Theme_Install_List_Table $wp_list_table
   217  */
   217  */
   225 	$wp_list_table->display();
   225 	$wp_list_table->display();
   226 
   226 
   227 }
   227 }
   228 
   228 
   229 /**
   229 /**
   230  * Display theme information in dialog box form.
   230  * Displays theme information in dialog box form.
   231  *
   231  *
   232  * @since 2.8.0
   232  * @since 2.8.0
   233  *
   233  *
   234  * @global WP_Theme_Install_List_Table $wp_list_table
   234  * @global WP_Theme_Install_List_Table $wp_list_table
   235  */
   235  */