Ticket #6259: 6259.diff
| File 6259.diff, 504 bytes (added by MtDewVirus, 6 months ago) |
|---|
-
wp-app.php
old new 387 387 388 388 function get_attachment($postID = NULL) { 389 389 if( !current_user_can( 'upload_files' ) ) 390 $this->auth_required( __( 'Sorry, you do not have the right to file uploads on this blog.' ) );390 $this->auth_required( __( 'Sorry, you do not have permission to upload files.' ) ); 391 391 392 392 if (!isset($postID)) { 393 393 $this->get_attachments();
