X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/61343b82c4f0da4c68e4c6373daafff4a81efdd1..ceb5a929e00123b4e224977c6b5a149f6431b250:/wp-admin/includes/class-wp-theme-install-list-table.php diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php index 8a46199f..8934684c 100644 --- a/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/wp-admin/includes/class-wp-theme-install-list-table.php @@ -90,8 +90,11 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { default: $args = false; + break; } + $args = apply_filters( 'install_themes_table_api_args_' . $tab, $args ); + if ( ! $args ) return; @@ -157,7 +160,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { $this->theme_installer(); } - /* + /** * Prints a theme from the WordPress.org API. * * @param object $theme An object that contains theme data returned by the WordPress.org API. @@ -244,7 +247,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { $this->install_theme_info( $theme ); } - /* + /** * Prints the wrapper for the theme installer. */ function theme_installer() { @@ -252,13 +255,14 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
- + +