Opened 18 years ago
Closed 17 years ago
#4571 closed defect (bug) (fixed)
broken option values after saving
Reported by: | m0n5t3r | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 2.3 | Priority: | high |
Severity: | major | Version: | 2.3 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
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.
patch to address the issue