mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-26 02:57:45 +01:00
0df3218cc2
Adds WP_Customize_Setting->sanitize_js_callback and 'customize_sanitize_js_$settingID' filter, to filter values before they're passed to JS using WP_Customize_Setting->js_value(). Adds support for regular hex colors to the color picker. Changes color methods: * sanitize_hex_color() accepts 3 and 6 digit hex colors (with hashes) and the empty string. * sanitize_hex_color_no_hash() accepts 3 and 6 digit hex colors (without hashes) and the empty string. * maybe_hash_hex_color() ensures that a hex color has a hash, and otherwise leaves the value untouched. git-svn-id: http://core.svn.wordpress.org/trunk@20936 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
admin-bar-rtl.css | ||
admin-bar-rtl.dev.css | ||
admin-bar.css | ||
admin-bar.dev.css | ||
customize-controls-rtl.css | ||
customize-controls-rtl.dev.css | ||
customize-controls.css | ||
customize-controls.dev.css | ||
editor.css | ||
editor.dev.css | ||
jquery-ui-dialog.css | ||
jquery-ui-dialog.dev.css | ||
wp-pointer.css | ||
wp-pointer.dev.css |