WordPress/wp-includes/customize
Weston Ruter 90cd5e5f80 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.

Merges [39411] to 4.7 branch.
See #38114.
Fixes #38928 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39412


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 00:26:34 +00:00
..
class-wp-customize-background-image-control.php Customize: Improve custom background properties UI. 2016-10-26 06:52:29 +00:00
class-wp-customize-background-image-setting.php Customize: move `WP_Customize_Section` subclasses to `wp-includes/customize`, they load in the exact same place. 2015-10-24 18:21:25 +00:00
class-wp-customize-background-position-control.php Customize: Improve custom background properties UI. 2016-10-26 06:52:29 +00:00
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 Customize: move `WP_Customize_Control` subclasses to `wp-includes/customize`, they load in the exact same place. 2015-10-24 18:57:25 +00:00
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 Docs: Add a missing summary, `@access` tag, and parameter documentation to the DocBlock for `WP_Customize_Filter_Setting::update()`. 2016-02-27 21:17:25 +00:00
class-wp-customize-header-image-control.php Customize: For Header Image, ensure "Previously uploaded" and "Suggested" headings are hidden when lists are empty. 2016-11-04 23:15:33 +00:00
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:26:34 +00:00
class-wp-customize-image-control.php Customize: Allow `button_labels` to be overridden in `$args` passed to `WP_Customize_Media_Control` and `WP_Customize_Image_Control`. 2016-02-29 00:40:26 +00:00
class-wp-customize-media-control.php Customize: Clean up media control CSS. 2016-05-12 20:23:54 +00:00
class-wp-customize-nav-menu-auto-add-control.php I18N: Combine duplicate "Menu Locations" and "Menu Options" strings. 2016-07-17 16:47:39 +00:00
class-wp-customize-nav-menu-control.php Menus: Use a label of "Display location" for individual nav menu settings. 2016-11-02 22:11:31 +00:00
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:42:32 +00:00
class-wp-customize-nav-menu-location-control.php Customize: Make the menu edit button look like a link. 2016-08-03 22:45:30 +00:00
class-wp-customize-nav-menu-name-control.php Customize: move `WP_Customize_Control` subclasses to `wp-includes/customize`, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-nav-menu-section.php Customize: Ensure that `WP_Customize_Nav_Menu_Section` is able to represent a placeholder nav menu. 2016-07-06 05:33:30 +00:00
class-wp-customize-nav-menu-setting.php General: Introduce a `wp_list_sort()` helper function, v2. 2016-10-25 21:26:32 +00:00
class-wp-customize-nav-menus-panel.php Customize: Fix persistence of toggles for displayed nav menu item properties. 2016-03-09 21:41:28 +00:00
class-wp-customize-new-menu-control.php Customize: move `WP_Customize_Control` subclasses to `wp-includes/customize`, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-new-menu-section.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
class-wp-customize-partial.php Docs: Standardize the file header and class summaries for the file containing `WP_Customize_Partial`, introduced in [36586]. 2016-03-16 16:24:27 +00:00
class-wp-customize-selective-refresh.php Customize: Remove edit shortcut toggle button from preview since visibility is now linked with pane visibility. 2016-11-04 20:54:30 +00:00
class-wp-customize-sidebar-section.php Customize: move `WP_Customize_Section` subclasses to `wp-includes/customize`, they load in the exact same place. 2015-10-24 18:21:25 +00:00
class-wp-customize-site-icon-control.php Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
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 Customize: Revert theme install feature. 2016-11-04 17:18:26 +00:00
class-wp-customize-upload-control.php Customize: move `WP_Customize_Control` subclasses to `wp-includes/customize`, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-widget-area-customize-control.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
class-wp-widget-form-customize-control.php Customize: move `WP_Customize_Control` subclasses to `wp-includes/customize`, they load in the exact same place. 2015-10-24 18:57:25 +00:00