Changeset 30889 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 12/16/2014 10:05:09 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r30782 r30889 236 236 global $wp_list_table; 237 237 238 if ( current_filter() == 'install_plugins_favorites' && empty( $_GET['user'] ) && ! get_user_option( 'wporg_favorites' ) ) { 239 return; 238 switch ( current_filter() ) { 239 case 'install_plugins_favorites' : 240 if ( empty( $_GET['user'] ) && ! get_user_option( 'wporg_favorites' ) ) { 241 return; 242 } 243 break; 244 case 'install_plugins_recommended' : 245 echo '<p>' . __( 'These suggestions are based on the plugins you and other users have installed.' ) . '</p>'; 246 break; 240 247 } 241 248
Note: See TracChangeset
for help on using the changeset viewer.