From 2c914a6c00eb23d1d4c32e21df252a2c7641d82f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 9 Dec 2012 17:04:08 +0000 Subject: [PATCH] Only show help for upload_path and upload_url_path if those fields are visible. fixes #21720. git-svn-id: https://develop.svn.wordpress.org/trunk@23134 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/options-media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php index f307edd987..71d4292c6c 100644 --- a/wp-admin/options-media.php +++ b/wp-admin/options-media.php @@ -17,7 +17,7 @@ $parent_file = 'options-general.php'; $media_options_help = '

' . __('You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.') . '

'; -if ( ! is_multisite() ) { +if ( ! is_multisite() && ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) ) { $media_options_help .= '

' . __('Uploading Files allows you to choose the folder and path for storing your uploaded files.') . '

'; }