Widget admin layout fixes from mdawaffe. fixes #5997

git-svn-id: http://svn.automattic.com/wordpress/trunk@7086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-02-28 09:11:11 +00:00
parent 67fd73834b
commit f529aef82d
5 changed files with 35 additions and 9 deletions

View File

@@ -63,12 +63,12 @@ function wp_list_widgets( $show = 'all', $_search = false ) {
) ), "add-widget_$widget[id]" );
} else {
$action = 'edit';
$edit_url = add_query_arg( array(
$edit_url = clean_url( add_query_arg( array(
'sidebar' => $sidebar,
'edit' => $widget['id'],
'key' => array_search( $widget['id'], $sidebars_widgets[$sidebar] ),
) );
$widget_control_template = '<textarea>' . htmlspecialchars( $widget_control_template ) . '</textarea>';
) ) );
$widget_control_template = '<li><textarea rows="1" cols="1">' . htmlspecialchars( $widget_control_template ) . '</textarea></li>';
}
$no_widgets_shown = false;