Changeset 47874 for trunk/src/wp-admin/options.php
- Timestamp:
- 06/01/2020 11:20:16 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options.php
r47808 r47874 178 178 $whitelist_options['media'][] = 'uploads_use_yearmonth_folders'; 179 179 180 // If upload_url_path and upload_path are both default values, they're locked. 180 /* 181 * If upload_url_path is not the default (empty), 182 * or upload_path is not the default ('wp-content/uploads' or empty), 183 * they can be edited, otherwise they're locked. 184 */ 181 185 if ( get_option( 'upload_url_path' ) || ( get_option( 'upload_path' ) != 'wp-content/uploads' && get_option( 'upload_path' ) ) ) { 182 186 $whitelist_options['media'][] = 'upload_path';
Note: See TracChangeset
for help on using the changeset viewer.