Hide upload_path and upload_url_path from the UI for new installs
|Reported by:||nacin||Owned by:||nacin|
Changing the upload_path and upload_url_path options are pretty dangerous. They have the potential to break quite a bit of things, not to mention they have the potential of simply not working.
In #19235, I was able to simplify wp_upload_dir() so the UPLOADS constant would again be 100% reliable. If you wanted to specify the exact location of your uploads dir, this is how you should do it, the same way you can move wp-content and other directories.
There's really no good reason to show upload_path or upload_url_path in the UI unless the values are other than the default (wp-content/uploads or '' for upload_path, and '' for upload_url_path). With that, most of a section disappears, leaving just year/month folder organization.