Changeset 20215
- Timestamp:
- 03/19/2012 07:04:49 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-atom-server.php
r20063 r20215 500 500 function get_attachment($postID = null) { 501 501 if ( !current_user_can( 'upload_files' ) ) 502 $this->auth_required( __( ' Sorry, you do not have permission to upload files.' ) );502 $this->auth_required( __( 'You do not have permission to upload files.' ) ); 503 503 504 504 if ( !isset($postID) ) { … … 521 521 522 522 if ( !current_user_can('upload_files') ) 523 $this->auth_required( __('You do not have permission to upload files.'));523 $this->auth_required( __( 'You do not have permission to upload files.' ) ); 524 524 525 525 $fp = fopen("php://input", "rb"); -
trunk/wp-includes/class-wp-xmlrpc-server.php
r20159 r20215 3098 3098 3099 3099 if ( !current_user_can('edit_themes') ) 3100 return new IXR_Error(401, __('Sorry, this user can 3100 return new IXR_Error(401, __('Sorry, this user cannot edit the template.')); 3101 3101 3102 3102 /* warning: here we make the assumption that the blog's URL is on the same server */
Note: See TracChangeset
for help on using the changeset viewer.