diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index 54a606ffe1..cc64ae5711 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -1091,7 +1091,6 @@ input.newtag:focus ~ div.taghint { p.popular-tags { border: none; line-height: 2em; - max-width: 1000px; padding: 8px 12px 12px; text-align: justify; } diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index e3cf580dcb..3393c531a6 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -1241,7 +1241,6 @@ tr.active + tr.plugin-update-tr .plugin-update .update-message { margin-top: 1.5em; } -.plugin-group:first-of-type, .plugin-group h3 { margin-top: 0; } diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php index ec60584b6c..0af8628cac 100644 --- a/src/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/src/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -64,7 +64,6 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { $tabs['search'] = __( 'Search Results' ); $tabs['featured'] = _x( 'Featured', 'Plugin Installer' ); $tabs['popular'] = _x( 'Popular', 'Plugin Installer' ); - $tabs['new'] = _x( 'Newest', 'Plugin Installer' ); $tabs['favorites'] = _x( 'Favorites', 'Plugin Installer' ); if ( $tab === 'beta' || false !== strpos( $GLOBALS['wp_version'], '-' ) ) { $tabs['beta'] = _x( 'Beta Testing', 'Plugin Installer' ); @@ -273,6 +272,10 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { } protected function display_tablenav( $which ) { + if ( $GLOBALS['tab'] === 'featured' ) { + return; + } + if ( 'top' == $which ) { ?>
WordPress Plugin Directory or upload a plugin in .zip format via this page.' ), 'https://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?>
- - + - - + +