Introduce singleton widget factory

git-svn-id: http://svn.automattic.com/wordpress/trunk@10808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2009-03-17 23:44:36 +00:00
parent 1183bfa70b
commit 1eab8fccb2
3 changed files with 59 additions and 9 deletions

View File

@@ -589,6 +589,13 @@ $wp_rewrite =& new WP_Rewrite();
*/
$wp =& new WP();
/**
* WordPress Widget Factory Object
* @global object $wp_widget_factory
* @since 2.8.0
*/
$wp_widget_factory =& new WP_Widget_Factory();
do_action('setup_theme');
/**