Opened 15 years ago
Closed 15 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Multisite | Version: | 3.2 |
| Severity: | normal | Keywords: | 3.3-early westi-likes has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks good.