mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user