X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/76aea3697c6043c1613370f172395b4f65ee71f0..c8946fda799b75451b0bee19b48736a13433a7e3:/wp-admin/includes/widgets.php
diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php
index 52d1d7b1..aef0dbaf 100644
--- a/wp-admin/includes/widgets.php
+++ b/wp-admin/includes/widgets.php
@@ -1,289 +1,220 @@
-
-
- $args, 1 => $widget['params'][0] ) );
+ call_user_func_array( 'wp_widget_control', $args );
+ }
}
-
-
+/**
+ * Show the widgets and their settings for a sidebar.
+ * Used in the the admin widget config screen.
+ *
+ * @since unknown
+ *
+ * @param string $sidebar id slug of the sidebar
+ */
function wp_list_widget_controls( $sidebar ) {
add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' );
-?>
-