Changeset 29636
- Timestamp:
- 08/27/2014 02:52:29 AM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/edit.css
r29618 r29636 1092 1092 border: none; 1093 1093 line-height: 2em; 1094 max-width: 1000px;1095 1094 padding: 8px 12px 12px; 1096 1095 text-align: justify; -
trunk/src/wp-admin/css/list-tables.css
r29627 r29636 1242 1242 } 1243 1243 1244 .plugin-group:first-of-type,1245 1244 .plugin-group h3 { 1246 1245 margin-top: 0; -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r29634 r29636 65 65 $tabs['featured'] = _x( 'Featured', 'Plugin Installer' ); 66 66 $tabs['popular'] = _x( 'Popular', 'Plugin Installer' ); 67 $tabs['new'] = _x( 'Newest', 'Plugin Installer' );68 67 $tabs['favorites'] = _x( 'Favorites', 'Plugin Installer' ); 69 68 if ( $tab === 'beta' || false !== strpos( $GLOBALS['wp_version'], '-' ) ) { … … 274 273 275 274 protected function display_tablenav( $which ) { 275 if ( $GLOBALS['tab'] === 'featured' ) { 276 return; 277 } 278 276 279 if ( 'top' == $which ) { ?> 277 280 <div class="tablenav top"> -
trunk/src/wp-admin/includes/plugin-install.php
r29634 r29636 129 129 <p><?php printf( __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="%1$s">WordPress Plugin Directory</a> or upload a plugin in .zip format via <a href="%2$s">this page</a>.' ), 'https://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?></p> 130 130 131 <h4><?php _e('Search') ?></h4> 132 <?php install_search_form( false ); ?> 133 134 <h4><?php _e('Popular tags') ?></h4> 135 <p class="install-help"><?php _e('You may also browse based on the most popular tags in the Plugin Directory:') ?></p> 131 <?php display_plugins_table(); ?> 132 133 <h3><?php _e( 'Popular tags' ) ?></h3> 134 <p><?php _e( 'You may also browse based on the most popular tags in the Plugin Directory:' ) ?></p> 136 135 <?php 137 136 … … 154 153 echo '</p><br class="clear" />'; 155 154 } 156 add_action( 'install_plugins_dashboard', 'install_dashboard');155 add_action( 'install_plugins_featured', 'install_dashboard' ); 157 156 158 157 /** … … 243 242 } 244 243 add_action( 'install_plugins_search', 'display_plugins_table' ); 245 add_action( 'install_plugins_featured', 'display_plugins_table' );246 244 add_action( 'install_plugins_popular', 'display_plugins_table' ); 247 245 add_action( 'install_plugins_new', 'display_plugins_table' );
Note: See TracChangeset
for help on using the changeset viewer.