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:
parent
33d56c303c
commit
1c44b15e63
|
@ -338,10 +338,10 @@ function get_blog_option( $id, $option, $default = false ) {
|
||||||
return get_option( $option, $default );
|
return get_option( $option, $default );
|
||||||
|
|
||||||
switch_to_blog( $id );
|
switch_to_blog( $id );
|
||||||
$option = get_option( $option, $default );
|
$value = get_option( $option, $default );
|
||||||
restore_current_blog();
|
restore_current_blog();
|
||||||
|
|
||||||
return $option;
|
return apply_filters( 'blog_option_' . $option, $value, $id );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue