Pass old value to update_site_option hooks. props westi, fixes #17974.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-08-10 18:59:50 +00:00
parent bce03b27a6
commit c3c4ced486
1 changed files with 2 additions and 2 deletions

View File

@ -3881,8 +3881,8 @@ function update_site_option( $option, $value ) {
}
if ( $result ) {
do_action( "update_site_option_{$option}", $option, $value );
do_action( "update_site_option", $option, $value );
do_action( "update_site_option_{$option}", $option, $value, $oldvalue );
do_action( "update_site_option", $option, $value, $oldvalue );
return true;
}
return false;