From 1c44b15e632522ee6fa86a630f43d6a24a7726de Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 23 Aug 2012 16:04:39 +0000 Subject: [PATCH] Restore blog_option_* filter. see #21459 git-svn-id: http://core.svn.wordpress.org/trunk@21595 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-blogs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index be61c34faa..d3ba0514f0 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -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 ); } /**