mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-03 18:18:02 +02: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 |
||
---|---|---|
.. | ||
crop | ||
imgareaselect | ||
jcrop | ||
jquery | ||
plupload | ||
scriptaculous | ||
swfupload | ||
thickbox | ||
tinymce | ||
admin-bar.dev.js | ||
admin-bar.js | ||
autosave.dev.js | ||
autosave.js | ||
colorpicker.dev.js | ||
colorpicker.js | ||
comment-reply.dev.js | ||
comment-reply.js | ||
customize-base.dev.js | ||
customize-base.js | ||
customize-controls.dev.js | ||
customize-controls.js | ||
customize-loader.dev.js | ||
customize-loader.js | ||
customize-preview.dev.js | ||
customize-preview.js | ||
hoverIntent.dev.js | ||
hoverIntent.js | ||
json2.dev.js | ||
json2.js | ||
prototype.js | ||
quicktags.dev.js | ||
quicktags.js | ||
swfobject.js | ||
tw-sack.dev.js | ||
tw-sack.js | ||
wp-ajax-response.dev.js | ||
wp-ajax-response.js | ||
wp-list-revisions.dev.js | ||
wp-list-revisions.js | ||
wp-lists.dev.js | ||
wp-lists.js | ||
wp-pointer.dev.js | ||
wp-pointer.js | ||
wplink.dev.js | ||
wplink.js |