mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 07:07:38 +02:00
Only show help for upload_path and upload_url_path if those fields are visible. fixes #21720.
git-svn-id: http://core.svn.wordpress.org/trunk@23134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aac3ea45f3
commit
60be66457a
@ -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>';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user