[wp-trac] [WordPress Trac] #38469: wp-includes/widgets.php:1208 Undefined index: wp_inactive_widgets
WordPress Trac
noreply at wordpress.org
Tue Oct 25 08:55:14 UTC 2016
#38469: wp-includes/widgets.php:1208 Undefined index: wp_inactive_widgets
--------------------------+------------------------------
Reporter: onnimonni | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.6.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by onnimonni):
This can also be fixed by adding following line to '''install.php''':
{{{#!php
<?php
update_option( 'sidebars_widgets', array( 'wp_inactive_widgets' => array()
) );
}}}
We should either document this behaviour into codex or core should have
fix which handles this situation automatically.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38469#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list