Changeset 28308
- Timestamp:
- 05/06/2014 06:07:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/themes.php
r27469 r28308 41 41 wp_safe_redirect( add_query_arg( 'enabled', 1, $referer ) ); 42 42 exit; 43 break;44 43 case 'disable': 45 44 check_admin_referer('disable-theme_' . $_GET['theme']); … … 48 47 wp_safe_redirect( add_query_arg( 'disabled', '1', $referer ) ); 49 48 exit; 50 break;51 49 case 'enable-selected': 52 50 check_admin_referer('bulk-themes'); … … 61 59 wp_safe_redirect( add_query_arg( 'enabled', count( $themes ), $referer ) ); 62 60 exit; 63 break;64 61 case 'disable-selected': 65 62 check_admin_referer('bulk-themes'); … … 74 71 wp_safe_redirect( add_query_arg( 'disabled', count( $themes ), $referer ) ); 75 72 exit; 76 break;77 73 case 'update-selected' : 78 74 check_admin_referer( 'bulk-themes' ); … … 100 96 require_once(ABSPATH . 'wp-admin/admin-footer.php'); 101 97 exit; 102 break;103 98 case 'delete-selected': 104 99 if ( ! current_user_can( 'delete_themes' ) ) … … 183 178 ), network_admin_url( 'themes.php' ) ) ) ); 184 179 } 185 180 186 181 $paged = ( $_REQUEST['paged'] ) ? $_REQUEST['paged'] : 1; 187 182 wp_redirect( add_query_arg( array( … … 191 186 ), network_admin_url( 'themes.php' ) ) ); 192 187 exit; 193 break;194 188 } 195 189 }
Note: See TracChangeset
for help on using the changeset viewer.