WordPress/wp-includes/js
Weston Ruter 1ccd9e7a6c Customize: Introduce custom CSS for extending theme styles.
* Custom CSS is associated with a given theme and is displayed in an inline `style` element at the `wp_head` hook after the `wp_print_styles` is called so that it overrides any enqueued stylesheets.
* A `wp_get_custom_css()` function is used for accessing the CSS associated with the current theme (or another theme) and a `wp_get_custom_css` filter for manipulating it.
* CSS is managed in customizer via a new "Additional CSS" section with a single `textarea` control. 
* `WP_Customize_Section::$description_hidden` is introduced for hiding extended descriptions in customizer sections behind a help toggle as done with panels.
* CSS is stored in a `custom_css` post type with the theme (stylesheet) slug as the `post_name`.
* `WP_Customize_Custom_CSS_Setting` is introduced to handle validation of CSS, previewing, and persisting the CSS to the `custom_css` post type.
* The `custom_css` setting is tied to a new `unfiltered_css` capability which maps to `unfiltered_html` by default.
* Escaping the message in the notification template is removed to allow markup (`code` tags) to be rendered.

See https://make.wordpress.org/core/2016/10/11/feature-proposal-better-theme-customizations-via-custom-css-with-live-previews/

Props johnregan3, celloexpressions, folletto, westonruter.
Fixes #35395.

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


git-svn-id: http://core.svn.wordpress.org/trunk@38772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-19 18:15:31 +00:00
..
crop
imgareaselect
jcrop
jquery External Libraries: Update Minified version of jquery.masonry.js 2016-08-18 18:55:30 +00:00
mediaelement External Libraries: Update MediaElement.js to 2.22.0. 2016-07-18 10:59:30 +00:00
plupload Media: Use the correct variable for the file object. 2016-06-16 16:15:31 +00:00
swfupload Upload: Correct encoding issue in swfupload.js, introduced in [29479]. 2016-09-03 15:02:36 +00:00
thickbox Accessibility: the Thickbox "Close" control should always be a button. 2016-05-23 10:30:29 +00:00
tinymce TinyMCE: 2016-10-14 21:38:28 +00:00
admin-bar.js
admin-bar.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
autosave.js Autosave: improve the notice when the sessionStorage autosave is different than the content. 2016-06-17 03:02:29 +00:00
autosave.min.js Autosave: improve the notice when the sessionStorage autosave is different than the content. 2016-06-17 03:02:29 +00:00
backbone.min.js External Libraries: Update Backbone to version 1.3.3. 2016-06-16 09:27:29 +00:00
colorpicker.js
colorpicker.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
comment-reply.js Comments: after [35593], extend support to IE8 and improve checking for elements hidden with CSS 2015-11-18 19:15:28 +00:00
comment-reply.min.js Comments: after [35593], extend support to IE8 and improve checking for elements hidden with CSS 2015-11-18 19:15:28 +00:00
customize-base.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-base.min.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-loader.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-loader.min.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-models.js
customize-models.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
customize-preview-nav-menus.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-preview-nav-menus.min.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-preview-widgets.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-preview-widgets.min.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-preview.js Customize: Introduce custom CSS for extending theme styles. 2016-10-19 18:15:31 +00:00
customize-preview.min.js Customize: Introduce custom CSS for extending theme styles. 2016-10-19 18:15:31 +00:00
customize-selective-refresh.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-selective-refresh.min.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-views.js Customizer: Contain "No image set/selected" in dashed border. 2016-02-23 17:27:26 +00:00
customize-views.min.js Customizer: Contain "No image set/selected" in dashed border. 2016-02-23 17:27:26 +00:00
heartbeat.js Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). 2016-02-25 12:53:27 +00:00
heartbeat.min.js
hoverIntent.js
hoverIntent.min.js
imagesloaded.min.js External Libraries: Update Masonry to 3.3.2 and imagesLoaded to 3.2.0. 2016-06-28 18:48:31 +00:00
json2.js
json2.min.js
masonry.min.js External Libraries: Update Masonry to 3.3.2 and imagesLoaded to 3.2.0. 2016-06-28 18:48:31 +00:00
mce-view.js TinyMCE: add support for custom dashicon for wp.mce.View.setLoader(). 2016-10-11 00:56:29 +00:00
mce-view.min.js TinyMCE: add support for custom dashicon for wp.mce.View.setLoader(). 2016-10-11 00:56:29 +00:00
media-audiovideo.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
media-audiovideo.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
media-editor.js Media: Remove alt fallbacks to improve accessibility. 2016-10-19 03:06:28 +00:00
media-editor.min.js Media: Remove alt fallbacks to improve accessibility. 2016-10-19 03:06:28 +00:00
media-grid.js Media: properly refresh the position of the Plupload shim so it moves over the Select Files button or off the screen. Fixes selecting files in MS Edge on the Media grid and Media -> Add New screens. 2016-06-16 04:54:29 +00:00
media-grid.min.js Media: properly refresh the position of the Plupload shim so it moves over the Select Files button or off the screen. Fixes selecting files in MS Edge on the Media grid and Media -> Add New screens. 2016-06-16 04:54:29 +00:00
media-models.js
media-models.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
media-views.js Administration: Better consistency for the Media, Add Plugins, and Add Themes toolbars. 2016-10-14 21:33:28 +00:00
media-views.min.js Administration: Better consistency for the Media, Add Plugins, and Add Themes toolbars. 2016-10-14 21:33:28 +00:00
quicktags.js Editor quickTags: when the user selects some text by triple-clicking, then wraps it in a tag, and the last selected char is \n, insert the closing tag before the line break. 2016-06-09 00:25:27 +00:00
quicktags.min.js Editor quickTags: when the user selects some text by triple-clicking, then wraps it in a tag, and the last selected char is \n, insert the closing tag before the line break. 2016-06-09 00:25:27 +00:00
shortcode.js Media: Ensure empty alt attributes are set to blank strings. 2016-07-20 14:38:29 +00:00
shortcode.min.js Media: Ensure empty alt attributes are set to blank strings. 2016-07-20 14:38:29 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Add support for the upcoming Emoji 4 release. 2016-10-04 03:24:30 +00:00
twemoji.min.js Emoji: Add support for the upcoming Emoji 4 release. 2016-10-04 03:24:30 +00:00
underscore.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
utils.js
utils.min.js
wp-a11y.js Accessibility: Ensure only text is sent to aria-live messages. 2016-07-20 14:26:28 +00:00
wp-a11y.min.js Accessibility: Ensure only text is sent to aria-live messages. 2016-07-20 14:26:28 +00:00
wp-ajax-response.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-ajax-response.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
wp-auth-check.js jQuery: Replace use of the .load() method for the "load" event with .on( 'load', handler ). 2016-01-13 17:22:27 +00:00
wp-auth-check.min.js jQuery: Replace use of the .load() method for the "load" event with .on( 'load', handler ). 2016-01-13 17:22:27 +00:00
wp-backbone.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-backbone.min.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-embed-template.js Embeds: After [37745], check if a featured image exists before attaching an event listener. 2016-07-05 16:16:57 +00:00
wp-embed-template.min.js Embeds: After [37745], check if a featured image exists before attaching an event listener. 2016-07-05 16:16:57 +00:00
wp-embed.js Embeds: Use a more accessible way to initially hide the iframe. 2016-02-25 10:23:27 +00:00
wp-embed.min.js Embeds: Use a more accessible way to initially hide the iframe. 2016-02-25 10:23:27 +00:00
wp-emoji-loader.js Emoji: Add support for the upcoming Emoji 4 release. 2016-10-04 03:24:30 +00:00
wp-emoji-loader.min.js Emoji: Add support for the upcoming Emoji 4 release. 2016-10-04 03:24:30 +00:00
wp-emoji-release.min.js Emoji: Add support for the upcoming Emoji 4 release. 2016-10-04 03:24:30 +00:00
wp-emoji.js Emoji: Update the Twemoji loader to include the rainbow flag. 2016-08-04 20:51:31 +00:00
wp-emoji.min.js Emoji: Update the Twemoji loader to include the rainbow flag. 2016-08-04 20:51:31 +00:00
wp-list-revisions.js
wp-list-revisions.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
wp-lists.js wpLists: Pass the current element to process() to properly register event handlers. 2016-10-03 18:39:30 +00:00
wp-lists.min.js wpLists: Pass the current element to process() to properly register event handlers. 2016-10-03 18:39:30 +00:00
wp-pointer.js
wp-pointer.min.js
wp-util.js Multisite: Change WP_Network id property to an integer. 2016-06-26 14:26:29 +00:00
wp-util.min.js Multisite: Change WP_Network id property to an integer. 2016-06-26 14:26:29 +00:00
wpdialog.js
wpdialog.min.js
wplink.js TinyMCE wplink: 2016-10-17 20:01:31 +00:00
wplink.min.js TinyMCE wplink: 2016-10-17 20:01:31 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js