Don't init widgets if the blog isn't installed yet. fixes #4504

git-svn-id: https://develop.svn.wordpress.org/trunk@5747 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-06-23 05:32:16 +00:00
parent 2cf3ba38f6
commit f3de8f4aab
1 changed files with 3 additions and 0 deletions

View File

@ -1082,6 +1082,9 @@ function wp_widget_rss_register() {
}
function wp_widgets_init() {
if ( !is_blog_installed() )
return;
$GLOBALS['wp_register_widget_defaults'] = true;
$dims90 = array( 'height' => 90, 'width' => 300 );