[wp-trac] [WordPress Trac] #4504: Do widget registeration in 'init'
action will cause DB error during the installation process
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 21 06:48:15 GMT 2007
#4504: Do widget registeration in 'init' action will cause DB error during the
installation process
-----------------------+----------------------------------------------------
Reporter: Kirin_Lin | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3 (trunk)
Component: General | Version: 2.3
Severity: normal | Keywords: install widget
-----------------------+----------------------------------------------------
As title, the error is following:[[BR]]
{{{
WordPress database error: [Table 'trunk.wp_options' doesn't exist]
INSERT INTO wp_options (option_name, option_value, option_description,
autoload) VALUES ('widget_categories',
'a:2:{s:6:\"number\";i:1;i:1;b:0;}', '', 'yes')
}}}
The problem is from line 1117~1120 (trunk rev.5717).[[BR]]
{{{
wp_widget_categories_register();
wp_widget_text_register();
wp_widget_rss_register();
wp_widget_recent_comments_register();
}}}
Can we provide an option to active the widget function after installation?
--
Ticket URL: <http://trac.wordpress.org/ticket/4504>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list