Ticket #19494: 19494.patch
File 19494.patch, 527 bytes (added by , 12 years ago) |
---|
-
wp-admin/async-upload.php
23 23 unset($current_user); 24 24 require_once('./admin.php'); 25 25 26 header('Content-Type: text/ plain; charset=' . get_option('blog_charset'));26 header('Content-Type: text/html; charset=' . get_option('blog_charset')); 27 27 28 28 if ( !current_user_can('upload_files') ) 29 29 wp_die(__('You do not have permission to upload files.'));