X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/959f97d8ecd5c1668103a3e41c795486b944bc68..312084b5d95c21feb519ff03decf948420e1f6fa:/wp-admin/includes/widgets.php?widgets-access=off
diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php
index da8b8227..47dfec52 100644
--- a/wp-admin/includes/widgets.php
+++ b/wp-admin/includes/widgets.php
@@ -1,290 +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' );
-?>
-