Opened 14 years ago
Closed 13 years ago
#17974 closed defect (bug) (fixed)
Not all of the update_site_option action hooks pass old value
Reported by: | westi | Owned by: | westi |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | Multisite | Keywords: | 3.3-early westi-likes has-patch commit |
Focuses: | Cc: |
Description
update_site_option
has hooks similar to the ones in update_option
but the add hooks don't pass the old value to the action:
do_action( "update_site_option_{$option}", $option, $value ); do_action( "update_site_option", $option, $value );
Unlike the ones in update_option
:
do_action( "update_option_{$option}", $oldvalue, $_newvalue ); do_action( 'updated_option', $option, $oldvalue, $_newvalue );
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Looks good.