From 93f6ea672eb5505aebe40d70bca963f573e2222b 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: https://develop.svn.wordpress.org/trunk@21852 602fd350-edb4-49c9-b593-d223f7449a82 --- 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');