Separate widget form and update callbacks.

git-svn-id: https://develop.svn.wordpress.org/trunk@10798 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-03-17 00:59:42 +00:00
parent 2f2d20a037
commit b05ffb1229
3 changed files with 84 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ if ( $http_post && isset($sidebars_widgets[$_POST['sidebar']]) ) {
*/
$already_done = array();
foreach ( $wp_registered_widget_controls as $name => $control ) {
foreach ( $wp_registered_widget_updates as $name => $control ) {
if ( in_array( $control['callback'], $already_done ) )
continue;