Skip to content

Commit

Permalink
Add $wp to the list of variables to be globalized
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpbloch committed May 17, 2012
1 parent 15cc3de commit d07b540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.php
Expand Up @@ -18,7 +18,7 @@
global $table_prefix, $wp_embed, $wp_locale, $_wp_deprecated_widgets_callbacks, $wp_widget_factory;

// These are still needed
global $wpdb, $current_site, $current_blog, $wp_rewrite, $shortcode_tags;
global $wpdb, $current_site, $current_blog, $wp_rewrite, $shortcode_tags, $wp;

require_once $config_file_path;

Expand Down

0 comments on commit d07b540

Please sign in to comment.