#2595 closed defect (bug) (fixed)
Option of "action" with value "update" is being added to options table
Reported by: | markjaquith | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 2.1 | Priority: | low |
Severity: | trivial | Version: | 2.1 |
Component: | Administration | Keywords: | has-patch 2nd-opinion |
Focuses: | Cc: |
Description
the hidden form field on wp-admin/options.php
with name "action" and value "update" is causing an option of that name and value to be added to the options table. Oops!
Attachments (2)
Change History (7)
#1
@
19 years ago
- Keywords has-patch 2nd-opinion added
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
Fix unsets $_POST$wpvar?; in the "WP vars to set" loop. Anything that we're running through this loop (only "action") we don't want showing up as an option.
People who already have it added are stuck with it, but it'd be silly to write code to remove it... it does no harm.
#2
@
19 years ago
New patch adds 'Update' to the list of things to reset, as the submit button was being added to the Options table as well.
Note: See
TracTickets for help on using
tickets.
Kill the "action" option