WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/19/2016 06:40:06 PM (6 years ago)
Author:
westonruter
Message:

Customize: Add selective refresh framework with implementation for widgets and re-implementation for nav menus.

See https://make.wordpress.org/core/2016/02/16/selective-refresh-in-the-customizer/.

Props westonruter, valendesigns, DrewAPicture, ocean90.
Fixes #27355.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/customize/nav-menu-item-setting.php

    r35583 r36586  
    7070        $setting = new WP_Customize_Nav_Menu_Item_Setting( $this->wp_customize, 'nav_menu_item[123]' );
    7171        $this->assertEquals( 'nav_menu_item', $setting->type );
    72         $this->assertEquals( 'postMessage', $setting->transport );
    7372        $this->assertEquals( 123, $setting->post_id );
    7473        $this->assertNull( $setting->previous_post_id );
Note: See TracChangeset for help on using the changeset viewer.