#5209 closed enhancement (fixed)
Add an action hook and sanitize_option filter to add_option_{option_name}
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | minor | Version: | 2.3 |
Component: | General | Keywords: | add_option, sanitize_option, hook, filter, has-patch |
Focuses: | Cc: |
Description
In the spirit of #5208, I propose adding a filter and an action to the add_option
function, as it currently has neither.
Attachments (2)
Change History (8)
#3
@
15 years ago
- Keywords sanitize_option added; pre_add_option removed
- Summary changed from Two more new hooks: add_option_{option_name} and pre_add_option_{option_name} to Add an action hook and sanitize_option filter to add_option_{option_name}
In light of westi's comment over at #5208, I'm changing this ticket to propose adding the sanitize_option
filter to add_option_{option_name}
, in addition to an action hook.
See new patch.
Anyone see any problems with adding sanitize_option
to the add_option
function?
Note: See
TracTickets for help on using
tickets.
Introducing add_option_{option_name} and pre_add_option_{option_name}