[wp-trac] [WordPress Trac] #10720: pre_option_gmt_offset is never applied
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 2 07:03:17 UTC 2009
#10720: pre_option_gmt_offset is never applied
------------------------------+---------------------------------------------
Reporter: johnjosephbachir | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.8.5
Component: General | Version: 2.8.4
Severity: normal | Resolution: invalid
Keywords: |
------------------------------+---------------------------------------------
Changes (by westi):
* status: new => closed
* resolution: => invalid
Comment:
These filters and actions are run.
The are run by the calls in get_option():
{{{
// Allow plugins to short-circuit options.
$pre = apply_filters( 'pre_option_' . $setting, false );
}}}
And update_option():
{{{
if ( $wpdb->rows_affected == 1 ) {
do_action( "update_option_{$option_name}", $oldvalue,
$_newvalue );
return true;
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10720#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list