WordPress/wp-includes
koopersmith 2f2cb0926f Theme Customizer: Migrate to an ajax-based solution for refreshing the preview and saving. see #20507, #19910.
* Use ajax-based saving, add saving indicator.
* Use ajax-based refreshing instead of form targets.
* Instead of using hidden inputs with prefixed names to track the canonical data, use the values stored in wp.customize. Encode the values as JSON before sending to avoid bugs with ids that contain square brackets (PHP mangles POST values with nested brackets).
* Use wp.customize.Previewer solely for the purpose of previewing; move the postMessage connection with the parent frame and other unrelated code snippets into the 'ready' handler.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 15:46:17 +00:00
..
css Theme Customizer: Migrate to an ajax-based solution for refreshing the preview and saving. see #20507, #19910. 2012-04-30 15:46:17 +00:00
images Hover state for the Add New admin bar icon. props johnjamesjacoby. fixes #19475. 2011-12-09 19:20:47 +00:00
js Theme Customizer: Migrate to an ajax-based solution for refreshing the preview and saving. see #20507, #19910. 2012-04-30 15:46:17 +00:00
pomo Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975 2011-10-27 20:00:09 +00:00
Text Update Text_Diff. Props simek. Fixes #9467 2010-02-19 01:25:26 +00:00
theme-compat Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin-bar.php Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410 2012-04-12 00:16:37 +00:00
atomlib.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
author-template.php Add 'author' to rel attribute for get_the_author_link(). props sirzooro, CoenJacobs, Ipstenu. fixes #20047. 2012-04-27 18:17:41 +00:00
bookmark-template.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
bookmark.php Use wp_cache_add() instead of wp_cache_set() when priming the object term cache in update_object_term_cache(). Pass the real post_type to clean_object_term_cache() instead of hard-coding post. Call clean_object_term_cache() from clean_bookmark_cache(). Props leewillis77. fixes #19690 2012-01-11 21:26:18 +00:00
cache.php Prevent notices by checking if the $group key isset(). See #20004. 2012-03-02 21:57:03 +00:00
canonical.php Run rawurlencode_deep() through the parsed query in canonical. (Introduces rawurlencode_deep().) props toppa for the initial patch. fixes #20143. 2012-04-27 15:40:00 +00:00
capabilities.php Do not block file mod/edit caps when DISALLOW_UNFILTERED_HTML is set. There are separate constants (DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS for those). fixes #20488. 2012-04-19 14:05:05 +00:00
category-template.php Don't call get_the_category() in get_the_category_list() unless the post type supports categories. props niallkennedy. fixes #19671. 2012-04-27 19:23:57 +00:00
category.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-feed.php Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416. 2011-05-14 19:45:07 +00:00
class-http.php WP_HTTP: Curl: $theHeaders is an array, not an object, introduced in [20370]. Props kurtpayne. Fixes #20389 See #20219 2012-04-07 07:16:30 +00:00
class-IXR.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-json.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-oembed.php Add sanity checks to WP_oEmbed::data2html() to ensure we are working with scalar values. Always use the filter. props mdawaffe, fixes #20322. 2012-04-19 19:46:34 +00:00
class-phpass.php Fix typos in documentation (wp-includes/[a-h]). See #18560. 2011-09-03 16:02:41 +00:00
class-phpmailer.php Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887 2012-02-07 16:13:51 +00:00
class-pop3.php Update pop3 class. Props aaroncampbell. fixes #17064 2011-04-21 20:40:32 +00:00
class-simplepie.php Switch from Net_IPv6 to SimplePie_Net_IPv6. Props stephdau, rmccue. fixes #19991 2012-02-09 20:17:23 +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 Fix some encoding issues. props hakre, fixes #14735. 2010-10-27 09:54:17 +00:00
class-wp-admin-bar.php Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014 2012-04-10 01:19:30 +00:00
class-wp-ajax-response.php Make sure we are using the admin-ajax handler when we call wp_die() for WP_Ajax_Response. see #20024. 2012-02-12 19:02:07 +00:00
class-wp-atom-server.php Consolidate some strings. Props ramiy. see #20216 2012-03-19 19:04:49 +00:00
class-wp-customize-control.php Theme Customizer: Add statuses to the color and image controls. see #19910. 2012-04-25 21:03:29 +00:00
class-wp-customize-section.php Add some missing documentation and fix a couple of typos. Props roscius. Fixes #19756. 2012-04-04 17:32:03 +00:00
class-wp-customize-setting.php Theme Customizer: Migrate to an ajax-based solution for refreshing the preview and saving. see #20507, #19910. 2012-04-30 15:46:17 +00:00
class-wp-customize.php Theme Customizer: Migrate to an ajax-based solution for refreshing the preview and saving. see #20507, #19910. 2012-04-30 15:46:17 +00:00
class-wp-editor.php Fix adding of parent theme's editor-style before child theme's, props SergeyBiryukov, see #19437 2012-04-02 22:26:11 +00:00
class-wp-error.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-wp-http-ixr-client.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-wp-theme.php Remove support from WP_Theme for multiple screenshots until we bring it to the UI. fixes #20546. 2012-04-25 17:40:43 +00:00
class-wp-walker.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-wp-xmlrpc-server.php Add @param for the $fields parameter for XML-RPC's _prepare_taxonomy(). props SergeyBiryukov, fixes #20566. 2012-04-30 00:25:14 +00:00
class-wp.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
class.wp-dependencies.php Use one space, not two, after trailing punctuation. fixes #19537 2011-12-13 23:45:31 +00:00
class.wp-scripts.php Pinking shears 6-20000 2012-02-27 19:46:52 +00:00
class.wp-styles.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
comment-template.php In comment_form(), pass the $post_id to comments_open(). props insertvisionhere. fixes #20572. 2012-04-30 01:47:22 +00:00
comment.php Accept a post object in clean_post_cache(). Fixes #20486. 2012-04-23 22:04:35 +00:00
compat.php Restore compat for json_decode and json_encode. fixes #18015 for trunk. 2011-07-06 23:33:05 +00:00
cron.php Use site_url() to construct the cron url. Props SergeyBiryukov. see #13449 2012-02-14 17:53:35 +00:00
customize-controls.php Theme Customizer: Migrate to an ajax-based solution for refreshing the preview and saving. see #20507, #19910. 2012-04-30 15:46:17 +00:00
default-constants.php Provide a DB fallback for keys in wp_salt(). Fall back when any secret is used more than once. Change how we detect a localized 'put your unique phrase here' -- eliminate $wp_default_secret_key and introduce $wp_secret_key_default to be added during the localized build process, not by translators. fixes #19599. 2012-01-27 18:52:20 +00:00
default-filters.php Schedule auto-draft deletion from post-new.php instead of from admin.php. This provides better throttling for large multisite installs and reduces the risk of a delete avalanche. 2012-04-12 18:49:48 +00:00
default-widgets.php Use get_taxonomies() instead of get_object_taxonomies() in the tag cloud widget. props GautamGupta, scribu. see #20238, see #16125. 2012-03-24 14:00:52 +00:00
deprecated.php Undeprecate require_if_theme_supports() for themes using it for legitimate reasons. see [20610]. props scribu, jkudish. fixes #20556. 2012-04-30 02:02:11 +00:00
feed-atom-comments.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-atom.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-rdf.php Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel. 2010-02-13 16:45:16 +00:00
feed-rss2-comments.php Set up the post global variable in the comment feed loops so that any calls to post related template tags work correctly. 2011-09-19 12:39:59 +00:00
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 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.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 Run rawurlencode_deep() through the parsed query in canonical. (Introduces rawurlencode_deep().) props toppa for the initial patch. fixes #20143. 2012-04-27 15:40:00 +00:00
functions.php Properly extract file headers via get_file_data() when CR line endings are used. props solarissmoke for the initial patch. fixes #19854. 2012-04-30 01:25:29 +00:00
functions.wp-scripts.php User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302 2012-01-05 20:50:54 +00:00
functions.wp-styles.php User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302 2012-01-05 20:50:54 +00:00
general-template.php Replace all instances of thickbox theme preview with the theme customizer. fixes #20404. 2012-04-10 02:25:03 +00:00
http.php Use one space, not two, after trailing punctuation. fixes #19537 2011-12-13 23:45:31 +00:00
kses.php Handle multiple feed: schemes. 2012-04-19 21:48:12 +00:00
l10n.php Load the new admin and network admin mo files, if present. see #19852 2012-01-27 22:19:56 +00:00
link-template.php Handle uppercase HTML entities in get_previous_posts_link(). Props ounziw. See #4152, fixes #19803. 2012-04-19 15:08:06 +00:00
load.php Use is_rtl() for html direction when possible. In sites.php, language_attributes() will always exist (MU vestige). When the DB is dead, language_attributes() is worse than a simple is_rtl() check. is_rtl() exists here due to wp_load_translations_early(). see #18180. 2012-02-08 06:05:35 +00:00
locale.php Add a translator's comment. see #19924. 2012-02-06 19:43:26 +00:00
media.php wp_oembed_get() returns false on failure. Props SergeyBiryukov. Fixes #20355. 2012-04-22 11:19:56 +00:00
meta.php Use the metadata API rather than raw queries and direct do_action calls. see #20417. 2012-04-11 20:02:39 +00:00
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 Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-default-filters.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-deprecated.php Introduce WP_User::exists(). see #20372 2012-04-06 19:18:45 +00:00
ms-files.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-functions.php Use maybe_serialize() where appropriate. fixes #19617. 2012-04-27 15:57:51 +00:00
ms-load.php Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180. 2012-01-26 20:34:27 +00:00
ms-settings.php Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180. 2012-01-26 20:34:27 +00:00
nav-menu-template.php Only output the class attribute in wp_nav_menu() if we have classes to add. Don't waste time on an strlen() call. props niallkennedy, fixes #20483. 2012-04-18 19:06:22 +00:00
nav-menu.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
option.php Introduce $wpdb->delete(). props justindgivens, scribu. fixes #18948. 2012-03-24 15:24:31 +00:00
pluggable-deprecated.php Update @deprecated. Props scribu. see #18333 2011-08-05 18:44:43 +00:00
pluggable.php Add missing "?" to gravatar_default URL in get_avatar() to set size parameter correctly. Fixes #20512. 2012-04-22 11:45:31 +00:00
plugin.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
post-template.php Always show search-results or search-no-results for searches, even archive searches. Props johnbillion. fixes #20435 2012-04-25 20:38:40 +00:00
post-thumbnail-template.php Split the main WP_Query posts query into two queries to avoid temp tables. Leverage cache to avoid second query in persistent cache environments. Props scribu, cheald, prettyboymp. see #18536 2012-02-14 15:09:35 +00:00
post.php Return false in get_attached_file() when the file does not exist, rather than a path to the base uploads directory. props mikeschinkel. fixes #18855. 2012-04-27 16:08:58 +00:00
query.php No need for by-reference when calculating the queried object in PHP5. props SergeyBiryukov, duck_, fixes #20039. 2012-04-17 03:41:07 +00:00
registration-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
registration.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
rewrite.php Remove wp-register.php. 2012-04-25 20:49:57 +00:00
rss-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
rss.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
script-loader.php Update jQuery imgAreaSelect plugin to 0.9.8. props ocean90. fixes #19881. 2012-04-25 21:49:57 +00:00
shortcodes.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
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 Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
template.php Introduce get_page_template_slug( $id = null ) to return a page's template (like "showcase.php"). Returns false if post ID is not a page, and an empty string for the default page template. Use the function across core. props billerickson for initial patch. fixes #18750. 2012-03-02 18:56:54 +00:00
theme.php Undeprecate require_if_theme_supports() for themes using it for legitimate reasons. see [20610]. props scribu, jkudish. fixes #20556. 2012-04-30 02:02:11 +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 Use maybe_serialize() where appropriate. fixes #19617. 2012-04-27 15:57:51 +00:00
vars.php Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014 2012-04-10 01:19:30 +00:00
version.php Compress scripts/styles: 3.4-beta3-20644. 2012-04-30 12:58:19 +00:00
widgets.php One newline is enough. 2012-01-05 20:10:39 +00:00
wlwmanifest.xml Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
wp-db.php Escape special characters when outputting DB failures. see #13839. 2012-04-16 21:55:47 +00:00
wp-diff.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00