mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Widget Customizer: Convert static WP_Customize_Widgets class into instantiated class and merge Options_Transaction into WP_Customize_Widgets.
see #27504. props westonruter. git-svn-id: https://develop.svn.wordpress.org/trunk@27816 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1588,7 +1588,8 @@ function wp_ajax_save_widget() {
|
||||
}
|
||||
|
||||
function wp_ajax_update_widget() {
|
||||
WP_Customize_Widgets::wp_ajax_update_widget();
|
||||
global $wp_customize;
|
||||
$wp_customize->widgets->wp_ajax_update_widget();
|
||||
}
|
||||
|
||||
function wp_ajax_upload_attachment() {
|
||||
|
||||
Reference in New Issue
Block a user