WordPress/wp-admin/css
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
..
colors Toolbar: Update links to the about page if current user can't access the dashboard of the current site. 2016-09-27 19:01:29 +00:00
about-rtl.css About Page: Third pass for 4.6. 2016-08-10 23:33:30 +00:00
about-rtl.min.css About Page: Third pass for 4.6. 2016-08-10 23:33:30 +00:00
about.css About Page: Third pass for 4.6. 2016-08-10 23:33:30 +00:00
about.min.css About Page: Third pass for 4.6. 2016-08-10 23:33:30 +00:00
admin-menu-rtl.css Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
admin-menu-rtl.min.css Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
admin-menu.css Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
admin-menu.min.css Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
color-picker-rtl.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
color-picker-rtl.min.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
color-picker.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
color-picker.min.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
common-rtl.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
common-rtl.min.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
common.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
common.min.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
customize-controls-rtl.css Customize: Introduce custom CSS for extending theme styles. 2016-10-19 18:15:31 +00:00
customize-controls-rtl.min.css Customize: Introduce custom CSS for extending theme styles. 2016-10-19 18:15:31 +00:00
customize-controls.css Customize: Introduce custom CSS for extending theme styles. 2016-10-19 18:15:31 +00:00
customize-controls.min.css Customize: Introduce custom CSS for extending theme styles. 2016-10-19 18:15:31 +00:00
customize-nav-menus-rtl.css Customize: Improve the widgets and menu items search. 2016-10-03 16:28:31 +00:00
customize-nav-menus-rtl.min.css Customize: Improve the widgets and menu items search. 2016-10-03 16:28:31 +00:00
customize-nav-menus.css Customize: Improve the widgets and menu items search. 2016-10-03 16:28:31 +00:00
customize-nav-menus.min.css Customize: Improve the widgets and menu items search. 2016-10-03 16:28:31 +00:00
customize-widgets-rtl.css Customizer: Better hover/focus state for section titles and available widgets. 2016-09-14 16:15:29 +00:00
customize-widgets-rtl.min.css Customizer: Better hover/focus state for section titles and available widgets. 2016-09-14 16:15:29 +00:00
customize-widgets.css Customizer: Better hover/focus state for section titles and available widgets. 2016-09-14 16:15:29 +00:00
customize-widgets.min.css Customizer: Better hover/focus state for section titles and available widgets. 2016-09-14 16:15:29 +00:00
dashboard-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
dashboard-rtl.min.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
dashboard.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
dashboard.min.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
deprecated-media-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
deprecated-media-rtl.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
deprecated-media.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
deprecated-media.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
edit-rtl.css Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS. 2016-10-02 14:38:31 +00:00
edit-rtl.min.css Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS. 2016-10-02 14:38:31 +00:00
edit.css Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS. 2016-10-02 14:38:31 +00:00
edit.min.css Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS. 2016-10-02 14:38:31 +00:00
farbtastic-rtl.css
farbtastic-rtl.min.css CSS: Stop using `wp-admin.min.css` and instead queue the individual stylesheets up through `load-styles.php`. 2016-01-18 09:57:29 +00:00
farbtastic.css
farbtastic.min.css CSS: Stop using `wp-admin.min.css` and instead queue the individual stylesheets up through `load-styles.php`. 2016-01-18 09:57:29 +00:00
forms-rtl.css Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS. 2016-10-02 14:38:31 +00:00
forms-rtl.min.css Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS. 2016-10-02 14:38:31 +00:00
forms.css Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS. 2016-10-02 14:38:31 +00:00
forms.min.css Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS. 2016-10-02 14:38:31 +00:00
ie-rtl.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
ie-rtl.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
ie.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
ie.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
install-rtl.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
install-rtl.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
install.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
install.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
l10n-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
l10n-rtl.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
l10n.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
l10n.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
list-tables-rtl.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
list-tables-rtl.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
list-tables.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
list-tables.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
login-rtl.css Login: Don't rely on `wp_is_mobile()` for functionality. 2016-10-06 15:52:30 +00:00
login-rtl.min.css Login: Don't rely on `wp_is_mobile()` for functionality. 2016-10-06 15:52:30 +00:00
login.css Login: Don't rely on `wp_is_mobile()` for functionality. 2016-10-06 15:52:30 +00:00
login.min.css Login: Don't rely on `wp_is_mobile()` for functionality. 2016-10-06 15:52:30 +00:00
media-rtl.css Media: Align input and button heights in attachment details. 2016-09-20 02:18:30 +00:00
media-rtl.min.css Media: Align input and button heights in attachment details. 2016-09-20 02:18:30 +00:00
media.css Media: Align input and button heights in attachment details. 2016-09-20 02:18:30 +00:00
media.min.css Media: Align input and button heights in attachment details. 2016-09-20 02:18:30 +00:00
nav-menus-rtl.css Accessibility: Improve the UI controls to move the Menu items. 2016-10-10 16:26:12 +00:00
nav-menus-rtl.min.css Accessibility: Improve the UI controls to move the Menu items. 2016-10-10 16:26:12 +00:00
nav-menus.css Accessibility: Improve the UI controls to move the Menu items. 2016-10-10 16:26:12 +00:00
nav-menus.min.css Accessibility: Improve the UI controls to move the Menu items. 2016-10-10 16:26:12 +00:00
press-this-editor-rtl.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
press-this-editor-rtl.min.css Revive `grunt-rtlcss`, which does not appear to enjoy syntax errors. 2016-05-05 15:22:27 +00:00
press-this-editor.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
press-this-editor.min.css Drop Open Sans in the admin in favor of system fonts. 2016-05-04 22:07:37 +00:00
press-this-rtl.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
press-this-rtl.min.css Revive `grunt-rtlcss`, which does not appear to enjoy syntax errors. 2016-05-05 15:22:27 +00:00
press-this.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
press-this.min.css Drop Open Sans in the admin in favor of system fonts. 2016-05-04 22:07:37 +00:00
revisions-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
revisions-rtl.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
revisions.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
revisions.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
site-icon-rtl.css Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
site-icon-rtl.min.css Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
site-icon.css Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
site-icon.min.css Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
themes-rtl.css Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer. 2016-10-19 03:20:29 +00:00
themes-rtl.min.css Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer. 2016-10-19 03:20:29 +00:00
themes.css Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer. 2016-10-19 03:20:29 +00:00
themes.min.css Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer. 2016-10-19 03:20:29 +00:00
widgets-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
widgets-rtl.min.css Revive `grunt-rtlcss`, which does not appear to enjoy syntax errors. 2016-05-05 15:22:27 +00:00
widgets.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
widgets.min.css Widgets: When the Inactive Widgets section is hidden also hide the “Clear Inactive Widgets” button description text. 2016-04-28 20:40:28 +00:00
wp-admin-rtl.css
wp-admin-rtl.min.css CSS: Stop using `wp-admin.min.css` and instead queue the individual stylesheets up through `load-styles.php`. 2016-01-18 09:57:29 +00:00
wp-admin.css
wp-admin.min.css CSS: Stop using `wp-admin.min.css` and instead queue the individual stylesheets up through `load-styles.php`. 2016-01-18 09:57:29 +00:00