Make WordPress Core


Ignore:
Timestamp:
03/05/2014 08:40:36 PM (11 years ago)
Author:
nacin
Message:

Add widget management to the customizer.

This brings in the Widget Customizer plugin: https://wordpress.org/plugins/widget-customizer/.

props westonruter, shaunandrews, michael-arestad, johnregan3, akeda, topher1kenobe, topquarky, bobbravo2, ricardocorreia. And for good measure, props westonruter.
see #27112.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r27403 r27419  
    15881588}
    15891589
     1590function wp_ajax_update_widget() {
     1591    require( ABSPATH . WPINC . '/class-wp-customize-manager.php' );
     1592    $GLOBALS['wp_customize'] = new WP_Customize_Manager;
     1593
     1594    WP_Customize_Widgets::wp_ajax_update_widget();
     1595}
     1596
    15901597function wp_ajax_upload_attachment() {
    15911598    check_ajax_referer( 'media-form' );
Note: See TracChangeset for help on using the changeset viewer.