Opened 16 years ago
Closed 16 years ago
#13182 closed defect (bug) (fixed)
submitting options-media.php in is_multisite() == true mode loses values
| Reported by: | tott | Owned by: | tott |
|---|---|---|---|
| Priority: | high | Milestone: | 3.0 |
| Component: | Media | Version: | 3.0 |
| Severity: | blocker | Keywords: | media options, media |
| Cc: | Focuses: | multisite |
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)
#1
@
16 years ago
- Milestone Unassigned → 3.0
- Owner set to
- Priority normal → high
- Severity normal → critical
- Status new → assigned
- Version → 3.0
#3
@
16 years ago
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Can't release without this debugged (understood) if not fixed. Updated P/sev.