WordPress/wp-includes
koopersmith 0df3218cc2 Theme Customizer: Ensure that JS color controls always use real color values, even if the server-side value is a hex value without a hash. fixes #20448, see #19910.
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
2012-05-26 18:44:31 +00:00
..
css
images
js Theme Customizer: Ensure that JS color controls always use real color values, even if the server-side value is a hex value without a hash. fixes #20448, see #19910. 2012-05-26 18:44:31 +00:00
pomo
Text
theme-compat
admin-bar.php
atomlib.php
author-template.php
bookmark-template.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
bookmark.php
cache.php
canonical.php
capabilities.php
category-template.php
category.php
class-feed.php
class-http.php
class-IXR.php
class-json.php
class-oembed.php
class-phpass.php
class-phpmailer.php Pinking shears 2012-05-03 16:41:59 +00:00
class-pop3.php
class-simplepie.php Pinking shears 2012-05-03 16:41:59 +00:00
class-smtp.php Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887 2012-02-07 16:13:51 +00:00
class-snoopy.php
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-atom-server.php
class-wp-customize-control.php
class-wp-customize-manager.php
class-wp-customize-section.php
class-wp-customize-setting.php
class-wp-editor.php
class-wp-error.php
class-wp-http-ixr-client.php
class-wp-theme.php
class-wp-walker.php
class-wp-xmlrpc-server.php
class-wp.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
comment-template.php
comment.php
compat.php
cron.php
default-constants.php
default-filters.php
default-widgets.php
deprecated.php Pinking shears 2012-05-03 16:41:59 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517. 2012-01-29 19:56:33 +00:00
feed-rss.php
feed.php split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325. 2012-01-09 21:20:51 +00:00
formatting.php i18n: Update the word splitting we use when trimming strings to build excerpts so that it has support for a character based mode for locales where character splitting is more approproate like Japan. 2012-05-23 21:04:35 +00:00
functions.php
functions.wp-scripts.php
functions.wp-styles.php
general-template.php
http.php API for allowing cross origin resource sharing. 2012-05-15 18:46:03 +00:00
kses.php
l10n.php Exclude admin pot files when calculating the list of installed languages in get_available_languages(). fixes #20676 2012-05-14 17:58:06 +00:00
link-template.php
load.php
locale.php
media.php
meta.php
ms-blogs.php Don't update a blog's last_updated time for all post deletions. Update only when published posts are deleted. 2012-04-13 17:30:37 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php
ms-files.php
ms-functions.php
ms-load.php
ms-settings.php
nav-menu-template.php
nav-menu.php
option.php
pluggable-deprecated.php
pluggable.php
plugin.php
post-template.php
post-thumbnail-template.php
post.php
query.php
registration-functions.php
registration.php
rewrite.php
rss-functions.php
rss.php
script-loader.php
shortcodes.php
taxonomy.php Add view_item to the phpdoc for get_taxonomy_labels(). props Caspie. fixes #20406. 2012-04-11 20:08:30 +00:00
template-loader.php
template.php Remove reference to a global eliminated long ago. props tamlyn, fixes #20668. 2012-05-24 07:06:13 +00:00
theme.php Theme Customizer: As customize.php without a theme parameter defaults to the current theme, update wp_customize_url() to make $stylesheet optional and update references for the current theme. 2012-05-26 15:32:05 +00:00
update.php Use correct filter name in wp_update_themes(): s/load-plugins/load-themes/. See r19683, #18876. 2012-03-24 14:07:12 +00:00
user.php
vars.php
version.php Compress scripts/styles: 3.4-beta4-20935. 2012-05-26 15:58:30 +00:00
widgets.php
wlwmanifest.xml
wp-db.php
wp-diff.php