WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/18/2016 08:04:36 PM (3 years ago)
Author:
westonruter
Message:

Customize: Implement customized state persistence with changesets.

Includes infrastructure developed in the Customize Snapshots feature plugin.

See https://make.wordpress.org/core/2016/10/12/customize-changesets-technical-design-decisions/

Props westonruter, valendesigns, utkarshpatel, stubgo, lgedeon, ocean90, ryankienstra, mihai2u, dlh, aaroncampbell, jonathanbardo, jorbin.
See #28721.
See #31089.
Fixes #30937.
Fixes #31517.
Fixes #30028.
Fixes #23225.
Fixes #34142.
Fixes #36485.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r38778 r38810  
    7676// Slugs
    7777add_filter( 'pre_term_slug', 'sanitize_title' );
     78add_filter( 'wp_insert_post_data', '_wp_customize_changeset_filter_insert_post_data', 10, 2 );
    7879
    7980// Keys
     
    383384add_action( 'wp_head', '_custom_logo_header_styles' );
    384385add_action( 'plugins_loaded', '_wp_customize_include' );
     386add_action( 'transition_post_status', '_wp_customize_publish_changeset', 10, 3 );
    385387add_action( 'admin_enqueue_scripts', '_wp_customize_loader_settings' );
    386388add_action( 'delete_attachment', '_delete_attachment_theme_mod' );
Note: See TracChangeset for help on using the changeset viewer.