Restore blog_option_* filter. see #21459

git-svn-id: http://core.svn.wordpress.org/trunk@21595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2012-08-23 16:04:39 +00:00
parent 33d56c303c
commit 1c44b15e63

View File

@ -338,10 +338,10 @@ function get_blog_option( $id, $option, $default = false ) {
return get_option( $option, $default );
switch_to_blog( $id );
$option = get_option( $option, $default );
$value = get_option( $option, $default );
restore_current_blog();
return $option;
return apply_filters( 'blog_option_' . $option, $value, $id );
}
/**