WordPress/wp-admin/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
..
accordion.js
accordion.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
bookmarklet.js
bookmarklet.min.js Editor: autoresize fixes for text 2016-06-01 10:24:30 +00:00
color-picker.js Color Picker: when opening and closing, toggle a `wp-picker-active` class on the wrapper. 2015-10-13 01:08:25 +00:00
color-picker.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
comment.js
comment.min.js
common.js Plugins: Fix odd typo introduced in [38703]. 2016-10-03 07:07:29 +00:00
common.min.js Plugins: Fix odd typo introduced in [38703]. 2016-10-03 07:07:29 +00:00
custom-background.js
custom-background.min.js
custom-header.js
customize-controls.js Customize: Introduce custom CSS for extending theme styles. 2016-10-19 18:15:31 +00:00
customize-controls.min.js Customize: Introduce custom CSS for extending theme styles. 2016-10-19 18:15:31 +00:00
customize-nav-menus.js Customize: Skip triggering initial click on pages section for available nav menu items if already open. 2016-10-17 16:23:28 +00:00
customize-nav-menus.min.js Customize: Skip triggering initial click on pages section for available nav menu items if already open. 2016-10-17 16:23:28 +00:00
customize-widgets.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
customize-widgets.min.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:05:31 +00:00
dashboard.js JS: in event callbacks replace the very outdated `return false` with `preventDefault()`. 2015-10-09 01:27:27 +00:00
dashboard.min.js JS: in event callbacks replace the very outdated `return false` with `preventDefault()`. 2015-10-09 01:27:27 +00:00
edit-comments.js Comments: Keep comments safe in the Edit Post screen. 2016-04-22 21:43:28 +00:00
edit-comments.min.js Comments: Keep comments safe in the Edit Post screen. 2016-04-22 21:43:28 +00:00
editor-expand.js Editor: fix jumpiness on pressing backspace and delete in the Text editor. 2016-08-28 18:40:31 +00:00
editor-expand.min.js Editor: fix jumpiness on pressing backspace and delete in the Text editor. 2016-08-28 18:40:31 +00:00
editor.js Formatting: Update `autop()` to match `wpautop()`. 2016-09-13 06:03:31 +00:00
editor.min.js Formatting: Update `autop()` to match `wpautop()`. 2016-09-13 06:03:31 +00:00
farbtastic.js
gallery.js JS: in event callbacks replace the very outdated `return false` with `preventDefault()`. 2015-10-09 01:27:27 +00:00
gallery.min.js JS: in event callbacks replace the very outdated `return false` with `preventDefault()`. 2015-10-09 01:27:27 +00:00
image-edit.js Media: Improve form validation errors handling when editing images. 2016-07-05 13:37:29 +00:00
image-edit.min.js Media: Improve form validation errors handling when editing images. 2016-07-05 13:37:29 +00:00
inline-edit-post.js Accessible Tags autocomplete: 2016-10-14 22:40:28 +00:00
inline-edit-post.min.js Accessible Tags autocomplete: 2016-10-14 22:40:28 +00:00
inline-edit-tax.js Docs: Add documentation for `wp-admin/js/inline-edit-tax.js`. 2016-09-22 18:50:28 +00:00
inline-edit-tax.min.js Accessibility: make the tab order match the visual order in the Edit terms screens. 2016-05-16 13:02:29 +00:00
iris.min.js
language-chooser.js
language-chooser.min.js
link.js
link.min.js
media-gallery.js Media: Add some docs to `media-gallery.js` RIP. 2016-08-20 22:59:29 +00:00
media-gallery.min.js
media-upload.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
media-upload.min.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
media.js Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
media.min.js Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
nav-menu.js Menus: Fix the posts-categories quick search. 2016-10-16 20:03:29 +00:00
nav-menu.min.js Menus: Fix the posts-categories quick search. 2016-10-16 20:03:29 +00:00
password-strength-meter.js Users: Check zxcvbn is defined before calling. 2016-07-01 12:45:29 +00:00
password-strength-meter.min.js Users: Check zxcvbn is defined before calling. 2016-07-01 12:45:29 +00:00
plugin-install.js Plugins: Use `install_plugins_upload` action to print the upload form. 2016-07-31 18:11:29 +00:00
plugin-install.min.js Plugins: Use `install_plugins_upload` action to print the upload form. 2016-07-31 18:11:29 +00:00
post.js TinyMCE: 2016-10-17 01:10:28 +00:00
post.min.js TinyMCE: 2016-10-17 01:10:28 +00:00
postbox.js Docs: Add documentation for `wp-admin/js/postbox.js`. 2016-09-22 18:47:31 +00:00
postbox.min.js Editor, editor-expand: adjust the sidebar position when moving a postbox from one column to another. 2016-06-08 22:37:29 +00:00
press-this.js Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:12:27 +00:00
press-this.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
revisions.js Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). 2016-02-25 12:53:27 +00:00
revisions.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
set-post-thumbnail.js
set-post-thumbnail.min.js
svg-painter.js
svg-painter.min.js
tags-box.js Accessible Tags autocomplete: 2016-10-14 22:40:28 +00:00
tags-box.min.js Accessible Tags autocomplete: 2016-10-14 22:40:28 +00:00
tags-suggest.js Accessible Tags autocomplete: 2016-10-14 22:40:28 +00:00
tags-suggest.min.js Accessible Tags autocomplete: 2016-10-14 22:40:28 +00:00
tags.js
tags.min.js
theme.js Accessibility: Add Themes Feature Filter form improvements. 2016-09-21 17:54:28 +00:00
theme.min.js Accessibility: Add Themes Feature Filter form improvements. 2016-09-21 17:54:28 +00:00
updates.js Upgrade/Install: Refresh update counts after page load. 2016-10-19 10:27:29 +00:00
updates.min.js Upgrade/Install: Refresh update counts after page load. 2016-10-19 10:27:29 +00:00
user-profile.js Users: After [33766], don't reset the password when clicking "Show Password" and then "Cancel" on Add New User screen. 2016-09-01 12:24:29 +00:00
user-profile.min.js Users: After [33766], don't reset the password when clicking "Show Password" and then "Cancel" on Add New User screen. 2016-09-01 12:24:29 +00:00
user-suggest.js
user-suggest.min.js
widgets.js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
widgets.min.js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
word-count.js Editor: improve `word-count.js` documentation. 2016-08-26 09:25:27 +00:00
word-count.min.js
wp-fullscreen-stub.js Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
wp-fullscreen-stub.min.js
xfn.js
xfn.min.js