diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-12 18:58:29 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-12 18:58:29 +0000 |
commit | b991d94d25cd7ea42468d7e4dfacbe3049f11195 (patch) | |
tree | 73009c0b7f12a02fb2ea285293e7ac46b24841c7 /wp-includes/wpmu-functions.php | |
parent | 4609d0ba685d06e6b61b50804622eb03f29ded7d (diff) | |
download | wordpress-mu-b991d94d25cd7ea42468d7e4dfacbe3049f11195.tar.gz wordpress-mu-b991d94d25cd7ea42468d7e4dfacbe3049f11195.tar.xz wordpress-mu-b991d94d25cd7ea42468d7e4dfacbe3049f11195.zip |
Hide errors.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@668 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/wpmu-functions.php')
-rw-r--r-- | wp-includes/wpmu-functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php index 6f05c94..f7535ff 100644 --- a/wp-includes/wpmu-functions.php +++ b/wp-includes/wpmu-functions.php @@ -180,9 +180,11 @@ function get_blog_details( $id, $all = true ) { return false; if( $all == true ) { + $wpdb->hide_errors(); $details->blogname = get_blog_option($id, 'blogname'); $details->siteurl = get_blog_option($id, 'siteurl'); $details->post_count = get_blog_option($id, 'post_count'); + $wpdb->show_errors(); wp_cache_set( $id, serialize( $details ), 'blog-details' ); |