Make WordPress Core

Changeset 20215


Ignore:
Timestamp:
03/19/2012 07:04:49 PM (13 years ago)
Author:
ryan
Message:

Consolidate some strings. Props ramiy. see #20216

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-atom-server.php

    r20063 r20215  
    500500    function get_attachment($postID = null) {
    501501        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.' ) );
    503503
    504504        if ( !isset($postID) ) {
     
    521521
    522522        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.' ) );
    524524
    525525        $fp = fopen("php://input", "rb");
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r20159 r20215  
    30983098
    30993099        if ( !current_user_can('edit_themes') )
    3100             return new IXR_Error(401, __('Sorry, this user can not edit the template.'));
     3100            return new IXR_Error(401, __('Sorry, this user cannot edit the template.'));
    31013101
    31023102        /* 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.