Changeset 7130 for trunk/wp-admin/upload.php
- Timestamp:
- 03/02/2008 08:17:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upload.php
r7062 r7130 2 2 require_once('admin.php'); 3 3 4 if (!current_user_can('upload_files')) 5 wp_die(__('You do not have permission to upload files.')); 4 if (!current_user_can('upload_files')) 5 wp_die(__('You do not have permission to upload files.')); 6 6 7 7 // Handle bulk deletes … … 27 27 } elseif ( !empty($_GET['_wp_http_referer']) ) { 28 28 wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']))); 29 exit; 29 exit; 30 30 } 31 31 … … 155 155 continue; 156 156 $arc_row->mmonth = zeroise( $arc_row->mmonth, 2 ); 157 157 158 158 if ( $arc_row->yyear . $arc_row->mmonth == $_GET['m'] ) 159 159 $default = ' selected="selected"'; 160 160 else 161 161 $default = ''; 162 162 163 163 echo "<option$default value='$arc_row->yyear$arc_row->mmonth'>"; 164 164 echo $wp_locale->get_month($arc_row->mmonth) . " $arc_row->yyear";
Note: See TracChangeset
for help on using the changeset viewer.