diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 38c1aad810..663effeac1 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -286,12 +286,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { } public function get_columns() { - return array( - 'name' => _x( 'Name', 'plugin name' ), - 'version' => __( 'Version' ), - 'rating' => __( 'Rating' ), - 'description' => __( 'Description' ), - ); + return array(); } public function _order_callback( $plugin_a, $plugin_b ) { @@ -328,13 +323,6 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { 'Tools' => _x( 'Tools', 'Plugin installer group title' ), ); - list( $columns, $hidden ) = $this->get_column_info(); - - $style = array(); - foreach ( $columns as $column_name => $column_display_name ) { - $style[ $column_name ] = in_array( $column_name, $hidden ) ? 'style="display:none;"' : ''; - } - $group = null; foreach ( (array) $this->items as $plugin ) { @@ -423,8 +411,8 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { ?>
-
> -

+
+

-
> -

+
+

-
> +
$plugin['rating'], 'type' => 'percent', 'number' => $plugin['num_ratings'] ) ); ?> ()