WordPress/wp-includes/customize
Weston Ruter 71d5ba249b Customize: Reuse existing non-auto-draft posts and existing auto-draft posts in the customized state with matching slugs when applying starter content.
* Updates `wp_unique_post_slug()` to ignore `auto-draft` posts. Prevents publishing multiple posts that have the same slugs from starter content.
* Fixes fatal error when attempting to save an header_image setting from a non-admin context.
* Fixes substituting attachment symbols in options and theme mods.
* Fixes applying starter content for header images and background images.

See #38114.
Fixes #38928.

Built from https://develop.svn.wordpress.org/trunk@39411


git-svn-id: http://core.svn.wordpress.org/trunk@39351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 00:25:41 +00:00
..
class-wp-customize-background-image-control.php
class-wp-customize-background-image-setting.php
class-wp-customize-background-position-control.php
class-wp-customize-color-control.php Customize: Clean up docs and code style for customize changes in 4.7. 2016-11-23 06:05:32 +00:00
class-wp-customize-cropped-image-control.php
class-wp-customize-custom-css-setting.php Customize: Refactor logic for updating custom_css posts by introducing wp_update_custom_css_post() function and renaming update filter. 2016-11-23 17:34:31 +00:00
class-wp-customize-filter-setting.php
class-wp-customize-header-image-control.php
class-wp-customize-header-image-setting.php Customize: Reuse existing non-auto-draft posts and existing auto-draft posts in the customized state with matching slugs when applying starter content. 2016-12-02 00:25:41 +00:00
class-wp-customize-image-control.php
class-wp-customize-media-control.php
class-wp-customize-nav-menu-auto-add-control.php
class-wp-customize-nav-menu-control.php
class-wp-customize-nav-menu-item-control.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
class-wp-customize-nav-menu-item-setting.php Customize: Fix handling of the nav menu item labels (titles) that match defaults (original titles) and fix the display of item type labels. 2016-11-30 23:36:42 +00:00
class-wp-customize-nav-menu-location-control.php
class-wp-customize-nav-menu-name-control.php
class-wp-customize-nav-menu-section.php
class-wp-customize-nav-menu-setting.php
class-wp-customize-nav-menus-panel.php
class-wp-customize-new-menu-control.php
class-wp-customize-new-menu-section.php
class-wp-customize-partial.php
class-wp-customize-selective-refresh.php
class-wp-customize-sidebar-section.php
class-wp-customize-site-icon-control.php
class-wp-customize-theme-control.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
class-wp-customize-themes-section.php
class-wp-customize-upload-control.php
class-wp-widget-area-customize-control.php
class-wp-widget-form-customize-control.php