New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169

git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n
2007-05-01 01:58:18 +00:00
parent 3f99d19cc3
commit 0cf5f8cf12
3 changed files with 5 additions and 12 deletions
-9
View File
@@ -1,14 +1,5 @@
<?php
/*
Check if another widget plugin is active. If this is so,
then bail out.
*/
if ( function_exists( 'dynamic_sidebar' ) ) {
return;
}
/* Global Variables */
global $wp_registered_sidebars, $wp_registered_widgets, $wp_registered_widget_controls, $wp_registered_widget_styles, $wp_registered_widget_defaults;