Fix multi-widget addition with JS disabled. Props mdawaffe. see #6239

git-svn-id: https://develop.svn.wordpress.org/trunk@7362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-17 23:25:05 +00:00
parent 88a2fee4ef
commit 21539c80a4
3 changed files with 83 additions and 14 deletions

View File

@@ -1189,7 +1189,7 @@ function wp_widget_rss_control($widget_args) {
$show_author = 0;
$show_date = 0;
} else {
extract( $options[$number] );
extract( (array) $options[$number] );
}
wp_widget_rss_form( compact( 'number', 'title', 'url', 'items', 'error', 'show_summary', 'show_author', 'show_date' ) );