Check for the existence of a post before calling current_user_can() with a meta cap on that object. fixes #20336.



git-svn-id: http://core.svn.wordpress.org/trunk@20637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add @param for the $fields parameter for XML-RPC's _prepare_taxonomy(). props SergeyBiryukov, fixes #20566.



git-svn-id: http://core.svn.wordpress.org/trunk@20638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Default to keyword searches for the plugin and theme installers in case no search type is posted back. fixes #19619.

props georgestephanis, SergeyBiryukov for initial patches.



git-svn-id: http://core.svn.wordpress.org/trunk@20639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Properly extract file headers via get_file_data() when CR line endings are used. props solarissmoke for the initial patch. fixes #19854.



git-svn-id: http://core.svn.wordpress.org/trunk@20640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
In comment_form(), pass the $post_id to comments_open(). props insertvisionhere. fixes #20572.

git-svn-id: http://core.svn.wordpress.org/trunk@20641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Undeprecate require_if_theme_supports() for themes using it for legitimate reasons. see [20610]. props scribu, jkudish. fixes #20556.



git-svn-id: http://core.svn.wordpress.org/trunk@20642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix typo in hex color code. props bananastalktome. fixes #20574.



git-svn-id: http://core.svn.wordpress.org/trunk@20643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-beta3-20644.

git-svn-id: http://core.svn.wordpress.org/trunk@20644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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://core.svn.wordpress.org/trunk@20645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add $wp_query parameter to update_post_thumbnail_cache(). props scribu. see #19949, fixes that ticket for 3.4.



git-svn-id: http://core.svn.wordpress.org/trunk@20646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-beta3-20647.

git-svn-id: http://core.svn.wordpress.org/trunk@20647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow nooped plurals to receive a textdomain on registration to then be used on translation.

This is good for when the code registering the plural is not also translating it. This occurs
in core with register_post_status(), which accepts a nooped plural as an argument, and then
calls translate_nooped_plural() without a domain.

translate_nooped_plural() can still be called with a domain. The argument will just be overridden
if the nooped plural contains a domain key.

fixes #20188.



git-svn-id: http://core.svn.wordpress.org/trunk@20648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Pass the WP_Customize instance to all actions fired inside the class. Plugins/themes should not refer to the $wp_customize global. see #19910, #20448.


git-svn-id: http://core.svn.wordpress.org/trunk@20649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Prevent accidental multiple click when creating new categories. Props mdawaffe. fixes #17936

git-svn-id: http://core.svn.wordpress.org/trunk@20650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-beta3-20651.

git-svn-id: http://core.svn.wordpress.org/trunk@20651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fire the wp_cron action from init instead of sanitize_comment_cookies so that cron handlers can rely on a fully initialized env. Props SergeyBiryukov, norocketsurgeon. fixes #19818


git-svn-id: http://core.svn.wordpress.org/trunk@20652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Properly convert two special Z characters in convert_chars(). props Namely, SergeyBiryukov. fixes #20503.



git-svn-id: http://core.svn.wordpress.org/trunk@20653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't escape anchor text as an attributein wp_get_attachment_link(). Props SergeyBiryukov. fixes #19282

git-svn-id: http://core.svn.wordpress.org/trunk@20654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix some unused/bad CSS for Press This backgrounds and gradients. props georgestephanis, helenyhou. fixes #20573.



git-svn-id: http://core.svn.wordpress.org/trunk@20655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Escape term links output in category-template.php functions. Props SergeyBiryukov, solarissmoke, alex-ye. fixes #20106

git-svn-id: http://core.svn.wordpress.org/trunk@20656 1a063a9b-81f0-0310-95a4-ce76da25c4cd