From cfcb553dfb5036ac85e40ae2c70dfe7b86258fd4 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sat, 8 Oct 2011 03:14:41 +0000 Subject: [PATCH] Add translation comment, props ocean90, fixes #18881 git-svn-id: https://develop.svn.wordpress.org/trunk@18922 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/media.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 7662834046..ce0c002226 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1990,14 +1990,18 @@ function _insert_into_post_button($type) { */ function media_upload_max_image_resize() { $checked = get_user_setting('upload_resize') ? ' checked="true"' : ''; + $a = $end = ''; + + if ( current_user_can( 'manage_options' ) ) { + $a = ''; + $end = ''; + } ?>