mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
Consolidate some strings. Props ramiy. see #20216
git-svn-id: http://svn.automattic.com/wordpress/trunk@20215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
127632b10d
commit
7faddb72bc
@ -499,7 +499,7 @@ EOD;
|
||||
*/
|
||||
function get_attachment($postID = null) {
|
||||
if ( !current_user_can( 'upload_files' ) )
|
||||
$this->auth_required( __( 'Sorry, you do not have permission to upload files.' ) );
|
||||
$this->auth_required( __( 'You do not have permission to upload files.' ) );
|
||||
|
||||
if ( !isset($postID) ) {
|
||||
$this->get_attachments();
|
||||
|
Loading…
x
Reference in New Issue
Block a user