Make WordPress Core

Changeset 5747


Ignore:
Timestamp:
06/23/2007 05:32:16 AM (18 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/widgets.php

    r5717 r5747  
    10831083
    10841084function wp_widgets_init() {
     1085    if ( !is_blog_installed() )
     1086        return;
     1087
    10851088    $GLOBALS['wp_register_widget_defaults'] = true;
    10861089   
Note: See TracChangeset for help on using the changeset viewer.