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
This commit is contained in:
Andrew Nacin 2012-12-09 17:04:08 +00:00
parent f9d1ca1da4
commit 2c914a6c00
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ $parent_file = 'options-general.php';
$media_options_help = '<p>' . __('You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.') . '</p>';
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 .= '<p>' . __('Uploading Files allows you to choose the folder and path for storing your uploaded files.') . '</p>';
}