Make WordPress Core


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

Consolidate some strings. Props ramiy. see #20216

File:
1 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");
Note: See TracChangeset for help on using the changeset viewer.