From 85d25dacc57655543b58235bcd74577a1d2caae0 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 14 Sep 2012 21:00:39 +0000 Subject: [PATCH] Hide upload_path and upload_url_path from the Media Settings screen, assuming they are both set to their default values. These can be set on options.php, or the UPLOADS constant or the filters in wp_upload_dir() should be used. WordPress should aim to avoid UI options that require filesystem changes as well, not to mention requiring the user to convert between paths and URLs. fixes #21720. git-svn-id: http://core.svn.wordpress.org/trunk@21852 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-media.php | 6 +++++- wp-admin/options.php | 9 +++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php index ee3240107d..3631971dfa 100644 --- a/wp-admin/options-media.php +++ b/wp-admin/options-media.php @@ -121,6 +121,10 @@ include('./admin-header.php');

+ - +
@@ -134,7 +138,7 @@ include('./admin-header.php');