Opened 19 years ago
Closed 19 years ago
#4571 closed defect (bug) (fixed)
broken option values after saving
| Reported by: | m0n5t3r | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | high | Milestone: | 2.3 |
| Component: | Administration | Version: | 2.3 |
| Severity: | major | Keywords: | has-patch |
| Cc: | Focuses: |
Description
options.php calls trim and stripslashes on option values submitted from options pages.
When one of the values is an array, this breaks it and update_option saves the string "Array" in the database, which is, most of the times, not what the (plugin) options page author intended.
Attachments (2)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch to address the issue