Opened 3 years ago
Closed 3 years ago
#13182 closed defect (bug) (fixed)
submitting options-media.php in is_multisite() == true mode loses values
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 3.0 |
| Component: | Media | Version: | 3.0 |
| Severity: | blocker | Keywords: | media options, media, multisite |
| Cc: |
Description
When you save the media options on a multisite installation
the values upload_path, uploads_use_yearmonth_folders and upload_url_path and maybe more are set to empty values causing file uploads done after this to be messed up.
Attachments (1)
Change History (5)
- Milestone changed from Unassigned to 3.0
- Owner set to tott
- Priority changed from normal to high
- Severity changed from normal to critical
- Status changed from new to assigned
- Version set to 3.0
Looks like this was already partially implemented. $uploads_options holds these values and only adds them to the registered options if !is_mutltisite(). Unfortunately, they were still hard-coded into the registered options array. Removing them from there should fix this. Patch untested.
Note: See
TracTickets for help on using
tickets.

Can't release without this debugged (understood) if not fixed. Updated P/sev.