Commit Graph

10065 Commits

Author SHA1 Message Date
bumpbot b739ea4152 Compress scripts/styles: 3.4-beta4-20819.
git-svn-id: https://develop.svn.wordpress.org/trunk@20819 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 01:58:25 +00:00
bumpbot 0c555027ba Compress scripts/styles: 3.4-beta4-20817.
git-svn-id: https://develop.svn.wordpress.org/trunk@20817 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 00:58:25 +00:00
Daryl Koopersmith 0e3b3a7555 Theme Customizer: Add 'ready' event to customize-controls. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20816 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 00:00:57 +00:00
bumpbot 2f156a8756 Compress scripts/styles: 3.4-beta4-20815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20815 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:58:26 +00:00
Andrew Ozz a3033f1506 Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20814 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:55:38 +00:00
Daryl Koopersmith 621e3c1fc6 Theme Customizer: Properly escape customize settings when sending values to JS. Add WP_Customize_Setting->js_value(). fixes #20687, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20809 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 20:59:02 +00:00
Ryan Boren cf58f72258 Fix wp.getPages response when fetching pages the current user does not have caps for. Props maxcutler, redsweater. fixes #20629
git-svn-id: https://develop.svn.wordpress.org/trunk@20807 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 18:06:34 +00:00
bumpbot 8471a0947c Compress scripts/styles: 3.4-beta4-20805. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20805 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 07:58:24 +00:00
Andrew Ozz 136f951922 DFW: another attempt to get auto-resize working right, see #20608, see #20684
git-svn-id: https://develop.svn.wordpress.org/trunk@20804 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 07:02:55 +00:00
bumpbot ed5c4343f0 Compress scripts/styles: 3.4-beta4-20803.
git-svn-id: https://develop.svn.wordpress.org/trunk@20803 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:58:24 +00:00
Daryl Koopersmith 5c77fcc30b Theme Customizer: Properly change state when theme is switched. fixes #20610, see #19910.
* Causes the Manage Themes page to refresh if the customizer is closed after the active theme is switched.
* Changes the text of the 'Save and Activate' button once the theme has been activated.
* Improves the naming of the customize control settings.
* Add events to customize.Loader and make callbacks more flexible.
* Makes the customize-loader l10n compatible with non-admin settings.
* Adds WP_Customize->is_current_theme_active().
* Minor style corrections, including jQuery.attr/prop changes.



git-svn-id: https://develop.svn.wordpress.org/trunk@20802 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:55:54 +00:00
Daryl Koopersmith 47d5d564b4 Theme Customizer: Make the wp.customize.Events methods chainable. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20801 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:17:26 +00:00
bumpbot 45919db511 Compress scripts/styles: 3.4-beta4-20800.
git-svn-id: https://develop.svn.wordpress.org/trunk@20800 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 22:58:23 +00:00
Daryl Koopersmith b010685cd2 Theme Customizer: Add the wp.customize.Events mixin to wp.customize.Values. Provide 'add', 'remove', and 'change' events by default. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20799 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 22:43:49 +00:00
Daryl Koopersmith 1a2375b4ee Theme Customizer: Clarify wp.customize.Values API by removing Values.pass and all methods that passed through to the wp.customize.Value objects it contained. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20798 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 22:14:46 +00:00
Daryl Koopersmith 10cf296150 Theme Customizer: Make wp.customize.Values.when return a jQuery.Deferred.promise() object, to add additional flexibility. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20797 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 22:01:36 +00:00
bumpbot b2a616cc17 Compress scripts/styles: 3.4-beta4-20796.
git-svn-id: https://develop.svn.wordpress.org/trunk@20796 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 21:58:21 +00:00
Daryl Koopersmith 6ad7ce44d6 Theme Customizer: Add an Events mixin to wp.customize, used by default in wp.customize.Messenger. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20795 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 21:28:21 +00:00
Ryan Boren 4e1861e2a8 API for allowing cross origin resource sharing.
* Allowed origin whitelist that can be altered by plugins
* Validation of the request origin against the whitelist
* Send Access-Control-Allow-Origin if origin allowed
* get_http_origin(), get_allowed_http_origins(), is_allowed_http_origin(), send_origin_headers()

See #20681



git-svn-id: https://develop.svn.wordpress.org/trunk@20794 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 18:46:03 +00:00
Ryan Boren b5156f1b47 Don't force frontend scheme to match backend. This fails if the frontend doesn't have proper SSL certs. Access-Control-Allow-Origin handles this without the need to make the schemes match. see #20507
git-svn-id: https://develop.svn.wordpress.org/trunk@20793 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 15:45:40 +00:00
bumpbot 2e1a9bc4a4 Compress scripts/styles: 3.4-beta4-20792.
git-svn-id: https://develop.svn.wordpress.org/trunk@20792 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 01:58:21 +00:00
Daryl Koopersmith ecf6940ffb Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649, #20650, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20791 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 01:03:31 +00:00
bumpbot 376a2485c1 Compress scripts/styles: 3.4-beta4-20790.
git-svn-id: https://develop.svn.wordpress.org/trunk@20790 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 19:58:19 +00:00
Ryan Boren ab8a4b7844 Exclude admin pot files when calculating the list of installed languages in get_available_languages(). fixes #20676
git-svn-id: https://develop.svn.wordpress.org/trunk@20788 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:58:06 +00:00
Ryan Boren bb5afe1aaf Remove accidental bits in [20784]
git-svn-id: https://develop.svn.wordpress.org/trunk@20785 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:01:35 +00:00
Ryan Boren 8dfae17319 Call filters for default option values only as needed to reduce number of filter calls. Props Ott042. see #20448
git-svn-id: https://develop.svn.wordpress.org/trunk@20784 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:00:13 +00:00
Ryan Boren 7e4b88ad24 Add filters for the default to get_option() and get_site_option(). Provide default overrides in the customizer. Props Otto42. see #20448
git-svn-id: https://develop.svn.wordpress.org/trunk@20783 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 16:45:32 +00:00
Jon Cave 7e2e034b64 Minor XML-RPC documentation improvements. See #20566.
Also make newly introduced _is_greater_than_one() private.


git-svn-id: https://develop.svn.wordpress.org/trunk@20782 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 10:10:01 +00:00
Jon Cave ab22e8ed87 get_post_stati() returns post statuses not types. Props jeremyfelt. Fixes #20664.
git-svn-id: https://develop.svn.wordpress.org/trunk@20779 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-13 07:41:47 +00:00
bumpbot 4211ac7104 Compress scripts/styles: 3.4-beta4-20778.
git-svn-id: https://develop.svn.wordpress.org/trunk@20778 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-12 00:58:21 +00:00
Daryl Koopersmith daad27aeef Theme Customizer: Flex-width friendly UI, improved typographical hierarchy. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20777 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-12 00:48:20 +00:00
Ryan Boren 5c2590bbd0 Remove extra underscore from XML-RPC filter. props maxcutler. fixes #20549
git-svn-id: https://develop.svn.wordpress.org/trunk@20775 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 21:04:47 +00:00
bumpbot 54ea6cb17a Compress scripts/styles: 3.4-beta4-20773.
git-svn-id: https://develop.svn.wordpress.org/trunk@20773 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 19:58:22 +00:00
Andrew Nacin bd4441edc6 display_header_text() should only return true if the theme mod value is not 'blank'. An empty string is valid -- there is no requirement for it to be truthy. see #18887. see #20600.
git-svn-id: https://develop.svn.wordpress.org/trunk@20772 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 19:55:07 +00:00
Ryan Boren 9b8b0bffac Collect intermediate images before deleting an attachment and its meta. Fixes thumbnail deletion. Props SergeyBiryukov. fixes #20658
git-svn-id: https://develop.svn.wordpress.org/trunk@20770 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 18:47:32 +00:00
Ryan Boren 5e6ed7574c Handle relative urls when processing redirects. Introduce WP_Http::make_absolute_url(). Props dd32. fixes #20434
git-svn-id: https://develop.svn.wordpress.org/trunk@20767 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 21:32:02 +00:00
bumpbot 4584d4022b Compress scripts/styles: 3.4-beta4-20766.
git-svn-id: https://develop.svn.wordpress.org/trunk@20766 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 20:58:24 +00:00
bumpbot 9ce7cbaf4d Compress scripts/styles: 3.4-beta4-20764.
git-svn-id: https://develop.svn.wordpress.org/trunk@20764 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 19:58:25 +00:00
bumpbot 5b4edeb721 Compress scripts/styles: 3.4-beta4-20762.
git-svn-id: https://develop.svn.wordpress.org/trunk@20762 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 00:58:25 +00:00
Daryl Koopersmith 476314ad8b Theme Customizer: Add a fallback UI for browsers that do not support drag and drop upload. see #19910, #20452, #20582.
git-svn-id: https://develop.svn.wordpress.org/trunk@20761 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 00:15:53 +00:00
bumpbot 243ecb7b13 Compress scripts/styles: 3.4-beta4-20760.
git-svn-id: https://develop.svn.wordpress.org/trunk@20760 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:58:31 +00:00
Daryl Koopersmith 971dc88583 Uploader & Theme Customizer: Refresh uploader flash/silverlight shims when the mouse enters the browse button. Add class to body based on uploader's drag/drop support. Properly assign customize image uploader containers (so flash shims are positioned correctly when scrolled). see #19910, #20452, #20582.
git-svn-id: https://develop.svn.wordpress.org/trunk@20758 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:26:19 +00:00
Ryan Boren 3c00653719 Set split_the_query to false if more than 500 rows requested. Props SergeyBiryukov. fixes #20628
git-svn-id: https://develop.svn.wordpress.org/trunk@20756 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 17:20:22 +00:00
bumpbot d50aba69e4 Compress scripts/styles: 3.4-beta4-20755.
git-svn-id: https://develop.svn.wordpress.org/trunk@20755 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 16:58:29 +00:00
bumpbot 81918eaf4a Compress scripts/styles: 3.4-beta4-20750.
git-svn-id: https://develop.svn.wordpress.org/trunk@20750 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 03:58:27 +00:00
bumpbot d454d3a0f3 Compress scripts/styles: 3.4-beta4-20746.
git-svn-id: https://develop.svn.wordpress.org/trunk@20746 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 00:58:22 +00:00
Daryl Koopersmith 7739e9186d Theme Customizer: Maintain scrolled position when preview performs a full refresh. Allow wp.customize.Messenger to send/receive falsy values. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20745 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 00:23:05 +00:00
bumpbot d16b4050ad Compress scripts/styles: 3.4-beta4-20744.
git-svn-id: https://develop.svn.wordpress.org/trunk@20744 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 23:58:24 +00:00
Daryl Koopersmith e1e949728c Theme Customizer: Add basic loading indicator when loading the customizer inside an iframe. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20743 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 23:37:05 +00:00
bumpbot 9116865432 Compress scripts/styles: 3.4-beta4-20742.
git-svn-id: https://develop.svn.wordpress.org/trunk@20742 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 20:58:20 +00:00
Daryl Koopersmith 320916cc53 Theme Customizer: Add cross-domain handling for when the admin and front-end are different origins. Handles both ajax and postMessage calls. props rboren, mdawaffe, nacin. see #20507, #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20741 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 20:13:34 +00:00
Ryan Boren 6f90e8abd6 Don't split the main query if there is no limit. This helps avoid extremely long query strings that could cause segfaults. Allow plugins to control splitting via split_the_query filter. see #20628
git-svn-id: https://develop.svn.wordpress.org/trunk@20740 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 20:01:47 +00:00
Ryan Boren 0de14403bf Don't delete nav menu items when the user that owns them is deleted.
* Introduce delete_with_user flag to register_post_type
* Set delete_with_user to false for the nav_menu_item post type
* Set it to true for all other core post types
* If delete_with_user is not set, fallback to post_type_supports('author')

Props nacin
Fixes #16358


git-svn-id: https://develop.svn.wordpress.org/trunk@20739 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 17:01:50 +00:00
bumpbot 597d44e837 Compress scripts/styles: 3.4-beta4-20738.
git-svn-id: https://develop.svn.wordpress.org/trunk@20738 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-07 20:58:22 +00:00
Daryl Koopersmith 7fde7c1904 Theme Customizer: Use a internal global _wpCustomizeSettings object for wp.customize.settings to prevent script race conditions in IE (which blocked interaction with the preview). see #20582, #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20737 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-07 20:03:39 +00:00
Ryan Boren a38242a366 phpdoc updates for register_post_type(). Props jeremyfelt. fixes #20622
git-svn-id: https://develop.svn.wordpress.org/trunk@20734 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-07 16:25:06 +00:00
Andrew Nacin e531502231 Add version numbers to Plupload in the script-loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@20732 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-07 04:43:30 +00:00
bumpbot 40f3bd8d9c Compress scripts/styles: 3.4-beta4-20731.
git-svn-id: https://develop.svn.wordpress.org/trunk@20731 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-06 23:58:23 +00:00
Ryan Boren 76c1cad16a phpdoc fix for register_post_status(). Props yoavf. fixes #20616
git-svn-id: https://develop.svn.wordpress.org/trunk@20726 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-05 19:04:34 +00:00
bumpbot c661174958 Compress scripts/styles: 3.4-beta4-20725. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20725 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-04 03:58:20 +00:00
Andrew Ozz 3afdcf2113 Remove unneeded var added in [20723], see #20608
git-svn-id: https://develop.svn.wordpress.org/trunk@20724 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-04 03:28:35 +00:00
Andrew Ozz 0ad0b4d829 DFW: fix auto-resize in WebKit, fixes #20608
git-svn-id: https://develop.svn.wordpress.org/trunk@20723 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-04 03:23:01 +00:00
Andrew Ozz b8c71ce2ad Update jQuery UI version strings in script-loader, props niallkennedy, fixes #20611
git-svn-id: https://develop.svn.wordpress.org/trunk@20721 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-04 01:11:28 +00:00
bumpbot d108fa8ee3 Compress scripts/styles: 3.4-beta4-20717.
git-svn-id: https://develop.svn.wordpress.org/trunk@20717 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 17:58:27 +00:00
Ryan Boren 8c50f982ea Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@20715 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 16:41:59 +00:00
Jon Cave 86280c6d68 Declare visibility of _prepare_post_type() as protected. See #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20714 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 15:59:50 +00:00
Andrew Nacin dd57074aed Make admin-head-callback optional for custom headers. Reverts part of [20684]. fixes #20603.
git-svn-id: https://develop.svn.wordpress.org/trunk@20712 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 13:30:55 +00:00
Ryan Boren 1d35a7b1db Beta 4 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@20711 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 02:08:43 +00:00
bumpbot 0569761737 Compress scripts/styles: 3.4-beta3-20709.
git-svn-id: https://develop.svn.wordpress.org/trunk@20709 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 22:58:29 +00:00
bumpbot 5f3e663586 Compress scripts/styles: 3.4-beta3-20707.
git-svn-id: https://develop.svn.wordpress.org/trunk@20707 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 21:58:30 +00:00
Andrew Nacin 0ebf7aec8b We indent with spaces, not tabs. props sivel. fixes #20394.
git-svn-id: https://develop.svn.wordpress.org/trunk@20703 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 21:13:08 +00:00
Andrew Nacin 26ff22c7a2 In image_resize(), do not force the destination filename to *.jpg when we are dealing with a *.jpeg.
props SergeyBiryukov.
fixes #16458.



git-svn-id: https://develop.svn.wordpress.org/trunk@20701 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:58:57 +00:00
Ryan Boren 1f3ca85ab5 Rolling upgrade to set the welcome_user_email network-wide option via the welcome_user_msg_filter() callback. Fixes ability to save the welcome user email when no entry exists in the database. see #20116
git-svn-id: https://develop.svn.wordpress.org/trunk@20697 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:31:37 +00:00
Andrew Nacin 9f57ec7c6c Have the $fields argument for XML-RPC's wp.getPostType, getPostTypes, wp.getTaxonomy and wp.getTaxonomies take the names of the post type or taxonomy object keys that will be returned.
* capabilities becomes cap
 * object_types becomes object_type

fixes #17626.



git-svn-id: https://develop.svn.wordpress.org/trunk@20696 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:29:34 +00:00
Andrew Nacin f2c495e011 Add filter to image_resize_dimensions() so plugins can perform this calculation on their own. props ebababi. fixes #15989.
git-svn-id: https://develop.svn.wordpress.org/trunk@20694 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:15:44 +00:00
bumpbot 5a5975a641 Compress scripts/styles: 3.4-beta3-20693.
git-svn-id: https://develop.svn.wordpress.org/trunk@20693 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 19:58:23 +00:00
Andrew Nacin c4f902f4c0 Remove $wp_secret_key_default.
With the duplicate key checks, this is isn't necessary. It could also cause problems when you
temporarily update to an English translation of a new version before going back to the locale.

see #19599.



git-svn-id: https://develop.svn.wordpress.org/trunk@20691 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 19:29:39 +00:00
bumpbot c6f7bb0af1 Compress scripts/styles: 3.4-beta3-20690.
git-svn-id: https://develop.svn.wordpress.org/trunk@20690 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 17:58:25 +00:00
Andrew Nacin cf6ce55d51 Only look for public post types in redirect_guess_404_permalink() when no post type query var is present. props jeremyfelt. fixes #19693.
git-svn-id: https://develop.svn.wordpress.org/trunk@20688 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 17:39:43 +00:00
Andrew Nacin b4f82d87b0 Add Vietnamese vowels to remove_accents(). props SergeyBiryukov. fixes #17738.
git-svn-id: https://develop.svn.wordpress.org/trunk@20687 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 16:55:16 +00:00
Andrew Nacin 61602af9c1 Add characters to be stripped or replaced in sanitize_title_with_dashes().
* Replace times (multiplication sign) with x.
 * Strip low quotation marks and other curly quotes we don't already deal with.
props SergeyBiryukov. fixes #19820.



git-svn-id: https://develop.svn.wordpress.org/trunk@20686 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 16:37:42 +00:00
Andrew Nacin ad1de1abe6 Always escape the output of get_pagenum_link(). fixes #14556.
git-svn-id: https://develop.svn.wordpress.org/trunk@20685 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 16:29:39 +00:00
Andrew Nacin bf5decbacf Require both wp-head-callback and admin-head-callback for custom header theme support. fixes #20603.
git-svn-id: https://develop.svn.wordpress.org/trunk@20684 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 15:16:48 +00:00
Andrew Nacin fa3427a99a Update phpdoc for WP_User::has_cap(). props nunomorgadinho. see #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@20683 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 14:17:04 +00:00
bumpbot 93a7eaf328 Compress scripts/styles: 3.4-beta3-20681. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20681 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:58:25 +00:00
Andrew Ozz 95808e088f Change the image caption shortcode format to [caption ...]<a><img /></a> caption text + html[/caption]. That way HTML tags in captions are better supported and the shortcode wouldn't break when using the wrong quotes. Props sushkov, nacin, fixes #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20679 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:14:52 +00:00
bumpbot 19a3e3799e Compress scripts/styles: 3.4-beta3-20678.
git-svn-id: https://develop.svn.wordpress.org/trunk@20678 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:58:23 +00:00
Andrew Nacin 869f8217ff Replace commas with periods when converting ratings float values to strings, to avoid issues with localized decimal points.
In these cases, we want a period because it is going to be used by CSS.

props SergeyBiryukov.
fixes #19593.



git-svn-id: https://develop.svn.wordpress.org/trunk@20675 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:09:55 +00:00
Ryan Boren defdae610e RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
git-svn-id: https://develop.svn.wordpress.org/trunk@20674 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:06:53 +00:00
Mark Jaquith 68616250c5 Ignore this. Just need an un-synced-to-GitHub commit so I can switch to using the new core.svn.wordpress.org URL.
git-svn-id: https://develop.svn.wordpress.org/trunk@20672 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 21:05:02 +00:00
Andrew Nacin 9761a56833 Kill all notices in XML-RPC found when running the test suite with WP_DEBUG. see [UT706], [UT707]. see #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20671 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 21:03:50 +00:00
Andrew Nacin 8868595fd4 Fix copy-paste issues in XML-RPC's _prepare_taxonomy(). see #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20670 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 20:33:06 +00:00
Jon Cave 9426067fbc Prevent a notice: don't attempt to parse the query string if it doesn't exist. Props johnjamesjacoby. Fixes #20528.
git-svn-id: https://develop.svn.wordpress.org/trunk@20669 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 18:26:38 +00:00
Andrew Nacin 5fd3048d0a Don't try to translate tags in WP_Theme::translate_header() if we are not in the admin and get_theme_feature_list() isn't defined. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20668 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 18:02:40 +00:00
Ryan Boren 52dea56cbe Add a link to the Customizer from the Admin Bar appearance menu. Props sabreuse. fixes #20575
git-svn-id: https://develop.svn.wordpress.org/trunk@20666 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 12:47:46 +00:00
Andrew Nacin be1c42cf7a Use correct variables. props batmoo. fixes #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20665 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 01:11:18 +00:00
Andrew Nacin 0a15d9f966 Use correct variables. props batmoo. fixes #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20664 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 23:45:01 +00:00
bumpbot 25463b343f Compress scripts/styles: 3.4-beta3-20663.
git-svn-id: https://develop.svn.wordpress.org/trunk@20663 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:58:31 +00:00
Andrew Nacin ac2e5ae1e0 jQuery UI 1.8.20. fixes #20559.
Fixes placeholder sizes when sorting post and dashboard meta boxes.



git-svn-id: https://develop.svn.wordpress.org/trunk@20660 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:53:09 +00:00
Andrew Nacin 29fcfe6c1c Explicitly set the dimensions of the avatar in the toolbar's profile menu. Avoids issues where overridden avatars could result in images that don't fit. props andrewryno. fixes #19539.
git-svn-id: https://develop.svn.wordpress.org/trunk@20657 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:38:39 +00:00
Ryan Boren 267871e166 Escape term links output in category-template.php functions. Props SergeyBiryukov, solarissmoke, alex-ye. fixes #20106
git-svn-id: https://develop.svn.wordpress.org/trunk@20656 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:36:43 +00:00
Ryan Boren ac3e71ac63 Don't escape anchor text as an attributein wp_get_attachment_link(). Props SergeyBiryukov. fixes #19282
git-svn-id: https://develop.svn.wordpress.org/trunk@20654 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:22:58 +00:00
Andrew Nacin 0d53bba473 Properly convert two special Z characters in convert_chars(). props Namely, SergeyBiryukov. fixes #20503.
git-svn-id: https://develop.svn.wordpress.org/trunk@20653 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:20:50 +00:00
Ryan Boren 3f793e457c 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: https://develop.svn.wordpress.org/trunk@20652 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:02:54 +00:00
bumpbot baa8fa8a0f Compress scripts/styles: 3.4-beta3-20651.
git-svn-id: https://develop.svn.wordpress.org/trunk@20651 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 20:58:24 +00:00
Daryl Koopersmith 82c5f5ed9b 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: https://develop.svn.wordpress.org/trunk@20649 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 17:20:32 +00:00
Andrew Nacin 0d433cf2aa 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: https://develop.svn.wordpress.org/trunk@20648 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 16:18:35 +00:00
bumpbot fbbe3bda95 Compress scripts/styles: 3.4-beta3-20647.
git-svn-id: https://develop.svn.wordpress.org/trunk@20647 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 15:58:21 +00:00
Andrew Nacin ddee4f351b Add $wp_query parameter to update_post_thumbnail_cache(). props scribu. see #19949, fixes that ticket for 3.4.
git-svn-id: https://develop.svn.wordpress.org/trunk@20646 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 15:55:57 +00:00
Daryl Koopersmith 3540b301af 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: https://develop.svn.wordpress.org/trunk@20645 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 15:46:17 +00:00
bumpbot 307f568a64 Compress scripts/styles: 3.4-beta3-20644.
git-svn-id: https://develop.svn.wordpress.org/trunk@20644 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 12:58:19 +00:00
Andrew Nacin f6ed61d7c8 Fix typo in hex color code. props bananastalktome. fixes #20574.
git-svn-id: https://develop.svn.wordpress.org/trunk@20643 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 12:50:55 +00:00
Andrew Nacin e55d1f54e2 Undeprecate require_if_theme_supports() for themes using it for legitimate reasons. see [20610]. props scribu, jkudish. fixes #20556.
git-svn-id: https://develop.svn.wordpress.org/trunk@20642 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 02:02:11 +00:00
Andrew Nacin 20c3b25c7e In comment_form(), pass the $post_id to comments_open(). props insertvisionhere. fixes #20572.
git-svn-id: https://develop.svn.wordpress.org/trunk@20641 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 01:47:22 +00:00
Andrew Nacin 199f9adec2 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: https://develop.svn.wordpress.org/trunk@20640 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 01:25:29 +00:00
Andrew Nacin 23cbaa70c8 Add @param for the $fields parameter for XML-RPC's _prepare_taxonomy(). props SergeyBiryukov, fixes #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20638 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 00:25:14 +00:00
Andrew Nacin e7478f0b3b Check for the existence of a post before calling current_user_can() with a meta cap on that object. fixes #20336.
git-svn-id: https://develop.svn.wordpress.org/trunk@20637 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 00:19:32 +00:00
Andrew Nacin 43025c102b Introduce minimum_args() method in XML-RPC and leverage it to return errors for insufficient arguments for methods that are new in 3.4.
props maxcutler,  markoheijnen.
fixes #20394.



git-svn-id: https://develop.svn.wordpress.org/trunk@20636 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 21:25:25 +00:00
Andrew Nacin e3ba704f17 Use correct variable. Caught by unit tests. see #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20635 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 21:22:07 +00:00
bumpbot f78ebb0c3e Compress scripts/styles: 3.4-beta3-20634.
git-svn-id: https://develop.svn.wordpress.org/trunk@20634 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 20:58:20 +00:00
Andrew Nacin c072db3732 Clean up the XML-RPC 3.4 methods with regards to consistency and future compatibility.
* Limit returned taxonomy and post type objects to a specific type-cast whitelist of fields.
 * Add $filter and $fields to wp.getTaxonomies to match the functionality of wp.getPostTypes.
 * Prevent the post type from being chnaged in _insert_post().
 * Don't check post_type_supports() in _insert_post().
 * Align handling of sticky posts with those of core.
 * Force tags and categories to go through terms and terms_names, rather than tags_input and post_category.
fixes #20566. props nacin, maxcutler.



git-svn-id: https://develop.svn.wordpress.org/trunk@20632 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 18:48:10 +00:00
bumpbot caeec90610 Compress scripts/styles: 3.4-beta3-20629.
git-svn-id: https://develop.svn.wordpress.org/trunk@20629 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 20:58:24 +00:00
bumpbot 001e92a1f2 Compress scripts/styles: 3.4-beta3-20627.
git-svn-id: https://develop.svn.wordpress.org/trunk@20627 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:58:23 +00:00
Andrew Nacin a49867ae66 Don't call get_the_category() in get_the_category_list() unless the post type supports categories. props niallkennedy. fixes #19671.
git-svn-id: https://develop.svn.wordpress.org/trunk@20622 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:23:57 +00:00
bumpbot 7f0d1f1a6b Compress scripts/styles: 3.4-beta3-20620.
git-svn-id: https://develop.svn.wordpress.org/trunk@20620 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:58:22 +00:00
Andrew Nacin c6689953bb Add 'author' to rel attribute for get_the_author_link(). props sirzooro, CoenJacobs, Ipstenu. fixes #20047.
git-svn-id: https://develop.svn.wordpress.org/trunk@20615 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:17:41 +00:00
Andrew Nacin 5f902262d1 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@20613 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 16:08:58 +00:00
Andrew Nacin 07fce717e7 Use maybe_serialize() where appropriate. fixes #19617.
git-svn-id: https://develop.svn.wordpress.org/trunk@20612 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 15:57:51 +00:00
Andrew Nacin ef79a85f78 Run rawurlencode_deep() through the parsed query in canonical. (Introduces rawurlencode_deep().) props toppa for the initial patch. fixes #20143.
git-svn-id: https://develop.svn.wordpress.org/trunk@20611 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 15:40:00 +00:00
Andrew Nacin 98f553c3b2 Deprecate require_if_theme_supports(). Always require post-thumbnail-template.php. fixes #20556. fixes #20409.
git-svn-id: https://develop.svn.wordpress.org/trunk@20610 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 04:54:36 +00:00
Ryan Boren 9250cf00d4 XML-RPC featured image and media preparation cleanup.
* Introduce _prepare_media_item().
* Use it to prepare post_thumbnail info in _prepare_post().
* Also use _prepare_media_item() in wp_getMediaLibrary() and wp_getMediaItem() so that all media is prepared consistently and uses the same filters.

Props maxcutler
Fixes #20409


git-svn-id: https://develop.svn.wordpress.org/trunk@20608 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 20:56:52 +00:00
Andrew Nacin 5d550a9e59 Remove duplicated do_action wp.getPosts call. props maxcutler.
git-svn-id: https://develop.svn.wordpress.org/trunk@20607 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 16:28:06 +00:00
Andrew Nacin c38e6d3603 Remove extra underscore from four XML-RPC filters. props maxcutler. fixes #20549.
git-svn-id: https://develop.svn.wordpress.org/trunk@20604 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 22:28:43 +00:00
bumpbot b75a2d8d3d Compress scripts/styles: 3.4-beta3-20603.
git-svn-id: https://develop.svn.wordpress.org/trunk@20603 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:58:24 +00:00
Andrew Nacin 3cd8e8300f Update jQuery imgAreaSelect plugin to 0.9.8. props ocean90. fixes #19881.
git-svn-id: https://develop.svn.wordpress.org/trunk@20602 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:49:57 +00:00
Andrew Nacin c1dbe37e51 Bail from wp-langs.php if we don't already have a WordPress environment. fixes #20119.
git-svn-id: https://develop.svn.wordpress.org/trunk@20601 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:40:20 +00:00
Andrew Nacin 60e9ca67ec Initialize the WP_Customize class in a prefixed global. props mattonomics. fixes #20465.
git-svn-id: https://develop.svn.wordpress.org/trunk@20600 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:30:02 +00:00
Andrew Nacin 9cd594ef4f Remove touch-punch.dev.js, as .js is appropriate for an external, unmodified script. see #20014.
git-svn-id: https://develop.svn.wordpress.org/trunk@20599 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:17:55 +00:00
Daryl Koopersmith 092d648b8a Theme Customizer: Add statuses to the color and image controls. see #19910.
Move the color control from the switch statement to WP_Customize_Color_Control.
Markup improvements.


git-svn-id: https://develop.svn.wordpress.org/trunk@20598 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:03:29 +00:00
Andrew Nacin a14e7a1e8f Move to pixels to avoid off-by-one rendering in Chrome. props trepmal. fixes #20402.
git-svn-id: https://develop.svn.wordpress.org/trunk@20597 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:56:26 +00:00
Andrew Nacin b75eefda56 Remove wp-register.php.
* Don't remove it on update. If you have it now, you'll keep it. New installs won't get it.
 * Peform a redirect using rewrite + canonical to the new location, if the file doesn't exist.
props SergeyBiryukov.
fixes #18544.


git-svn-id: https://develop.svn.wordpress.org/trunk@20596 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:49:57 +00:00
Ryan Boren 577286e19d Always show search-results or search-no-results for searches, even archive searches. Props johnbillion. fixes #20435
git-svn-id: https://develop.svn.wordpress.org/trunk@20595 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:38:40 +00:00
Andrew Nacin af4b4bb752 Remove monospace from TinyMCE caption/alignment image edit popup. see #18311.
git-svn-id: https://develop.svn.wordpress.org/trunk@20593 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 19:54:04 +00:00
Andrew Nacin fca5a81af2 Remove support from WP_Theme for multiple screenshots until we bring it to the UI. fixes #20546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20590 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:40:43 +00:00
Andrew Nacin b7101b038f Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20589 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:34:19 +00:00
Andrew Nacin ac64d57b03 Make WP_Theme::get_files() a general method for retrieving any file types, at any depth, optionally to include parent files. see #20546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20588 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:31:39 +00:00
bumpbot 46a0b56c82 Compress scripts/styles: 3.4-beta3-20587.
git-svn-id: https://develop.svn.wordpress.org/trunk@20587 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 16:58:21 +00:00
Andrew Nacin 1b233e27af Documentation and visibility cleanups in WP_Theme.
* Declare `__toString()` as public.
 * Use parent() and error() internally, rather than the properties.
 * Add and correct inline documentation throughout.
 * Attempt to clarify that display() is superior to get().
see #20546, see #20103.



git-svn-id: https://develop.svn.wordpress.org/trunk@20586 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 16:37:49 +00:00
Daryl Koopersmith dfd80ddc57 Theme Customizer: For clarity, wp.customize.Setting.method to wp.customize.Setting.transport. Add WP_Customize_Setting->transport to allow setting the transport method via PHP. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20585 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 16:04:51 +00:00
Daryl Koopersmith 9c6a0682cc Theme Customizer: Preview the target theme during save to ensure all settings are properly registered. Temporarily revert to the active theme when running switch_theme. fixes #20508, see #19910.
Introduces WP_Customize->start_previewing_theme() and WP_Customize->stop_previewing_theme() to easily enable/disable the theme filters as needed.


git-svn-id: https://develop.svn.wordpress.org/trunk@20584 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 15:44:06 +00:00
Andrew Nacin 4998de66a0 Do not check for a meta value in XML-RPC set_custom_fields unless we know we are editing a key. Prevents a notice when a custom field is being deleted. props scott.gonzalez. fixes #20543.
git-svn-id: https://develop.svn.wordpress.org/trunk@20583 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 14:26:31 +00:00
bumpbot 05654f8874 Compress scripts/styles: 3.4-beta3-20582.
git-svn-id: https://develop.svn.wordpress.org/trunk@20582 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:58:22 +00:00
Ryan Boren d3571040fb * Return empty arrays instead of false for all conditions in get_blogs_of_user().
* When deleting a user, use a delete_metadata_by_mid() loop over the meta so that the meta cache is cleared.
* Use remove_user_from_blog() for DRYness.

Props nacin, duck_
Fixes #19500


git-svn-id: https://develop.svn.wordpress.org/trunk@20581 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:13:47 +00:00
Andrew Ozz f55dbdbd27 Uploader: fix check for error message send from async-upload on failed uploads, improve styling it a bit, props trepmal, SergeyBiryukov, fixes #20445
git-svn-id: https://develop.svn.wordpress.org/trunk@20580 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:06:55 +00:00
bumpbot 1235945716 Compress scripts/styles: 3.4-beta3-20578.
git-svn-id: https://develop.svn.wordpress.org/trunk@20578 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 19:58:21 +00:00
Daryl Koopersmith 14100746f2 Use a deep extend in wp.Uploader to ensure that the multipart_params object (and others) are cloned instead of referenced. fixes #20532.
git-svn-id: https://develop.svn.wordpress.org/trunk@20577 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 19:38:47 +00:00
Ryan Boren 643618503c Revert [20568] until a publish_post cap is introduced. see #20474
git-svn-id: https://develop.svn.wordpress.org/trunk@20576 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 16:22:12 +00:00
Andrew Nacin a89d307726 Fix a notice in [20565] where get_the_author_meta() may be called prior to postdata from being set up. In this case, the function should return nothing (via the filter). props johnjamesjacoby. fixes #20529. see #20285.
git-svn-id: https://develop.svn.wordpress.org/trunk@20575 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 14:41:23 +00:00
bumpbot 3aaa209968 Compress scripts/styles: 3.4-beta3-20574.
git-svn-id: https://develop.svn.wordpress.org/trunk@20574 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 23:58:22 +00:00
Daryl Koopersmith e73e1f4e5d Theme Customizer: Simplify logic when preparing menu controls. Include instructions to edit menu content in section description. Add string for default state. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20572 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 23:03:09 +00:00
Jon Cave 83a3cc73df Accept a post object in clean_post_cache(). Fixes #20486.
The post_type can then be accessed to properly clean the taxonomy relationships cache.
The full object is useful in situations when an ID might reference a post that has been
removed from the database (e.g. wp_delete_post()).


git-svn-id: https://develop.svn.wordpress.org/trunk@20569 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 22:04:35 +00:00
Ryan Boren 5b9e7c07ba Check the publish_post cap when publishing an already existing post.
Props nprasath002
Fixes #20474


git-svn-id: https://develop.svn.wordpress.org/trunk@20568 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 21:54:30 +00:00
Ryan Boren 7e45462cbd Require the edit_posts capability for wp_getPostFormats.
Props maxcutler.
Fixes #20154


git-svn-id: https://develop.svn.wordpress.org/trunk@20566 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 21:41:50 +00:00
Ryan Boren de4b2724fd Remove key mangling code from get_the_author_meta(). Make it more inline with get_user_option(). Handle collision with old users table columns that are on old schema, particularly user_description.
Props scribu, fredwu.
Fixes #20285


git-svn-id: https://develop.svn.wordpress.org/trunk@20565 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 21:34:07 +00:00
Jon Cave 5b863a766b Add missing "?" to gravatar_default URL in get_avatar() to set size parameter correctly. Fixes #20512.
git-svn-id: https://develop.svn.wordpress.org/trunk@20563 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-22 11:45:31 +00:00
Jon Cave 7a276ec3fb wp_oembed_get() returns false on failure. Props SergeyBiryukov. Fixes #20355.
git-svn-id: https://develop.svn.wordpress.org/trunk@20562 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-22 11:19:56 +00:00
Andrew Nacin c401b0b61e 3.4-beta3.
git-svn-id: https://develop.svn.wordpress.org/trunk@20552 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 13:23:21 +00:00
Andrew Nacin 23755473ac If a cached theme root is no longer registered, skip it. Assume the cache is out of date. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20551 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 13:22:54 +00:00
Jon Cave e5e2528313 Add $id parameter to get_the_tag_list() for consistency with get_the_(category|term)_list(). Props kawauso. Fixes #20072.
Also remove 'default' value of 0 for $id parameter in generic taxonomy functions
as it is a required parameter, and fix a notice when get_the_terms() is called
when $id = 0 and the $post global is not an object.


git-svn-id: https://develop.svn.wordpress.org/trunk@20549 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 10:06:05 +00:00
bumpbot be25e9070b Compress scripts/styles: 3.4-beta2-20548.
git-svn-id: https://develop.svn.wordpress.org/trunk@20548 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 04:58:21 +00:00
Daryl Koopersmith ef8926c076 Theme Customizer: Firefox CSS love. props helenyhou, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20547 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 04:46:02 +00:00
bumpbot 909935606a Compress scripts/styles: 3.4-beta2-20546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20546 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 02:58:21 +00:00
Daryl Koopersmith e2bbb75ba5 Theme Customizer: Improve image picker control. see #19910.
Overhauled image pickers:
* Add support for drag and drop uploads to image controls.
* Improve the 'uploaded' tab in image controls: automatically add images uploaded during the current session, hide the tab when no uploaded images exist.
* Move the header image control to the WP_Customize_Header_Image_Control class. Remove wp_customize_print_uploaded_headers() and wp_customize_print_uploaded_headers() functions.
* Abstract the dropdown functionality from the color picker to the .dropdown class.
* In wp.Uploader, unset element keys if passed an empty jQuery collection.



git-svn-id: https://develop.svn.wordpress.org/trunk@20545 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 02:39:55 +00:00
Andrew Nacin f3d77695cb Handle multiple feed: schemes.
git-svn-id: https://develop.svn.wordpress.org/trunk@20540 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 21:48:12 +00:00
Andrew Nacin 7accb38740 Add sanity checks to WP_oEmbed::data2html() to ensure we are working with scalar values. Always use the filter. props mdawaffe, fixes #20322.
git-svn-id: https://develop.svn.wordpress.org/trunk@20539 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 19:46:34 +00:00
Andrew Nacin 7534fdb026 3.4-beta2-20538
git-svn-id: https://develop.svn.wordpress.org/trunk@20538 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 16:44:20 +00:00
Jon Cave e15d677986 Handle uppercase HTML entities in get_previous_posts_link(). Props ounziw. See #4152, fixes #19803.
git-svn-id: https://develop.svn.wordpress.org/trunk@20537 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 15:08:06 +00:00
bumpbot abaca87e32 Compress scripts/styles: 3.4-beta2-20536.
git-svn-id: https://develop.svn.wordpress.org/trunk@20536 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:58:27 +00:00
Andrew Nacin 29ca3e321a 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@20534 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:05:05 +00:00
Jon Cave 2cc545029f Don't deprecate cleaning the user cache by ID. See #20460.
git-svn-id: https://develop.svn.wordpress.org/trunk@20532 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 11:51:27 +00:00
bumpbot 882eaba136 Compress scripts/styles: 3.4-beta2-20531.
git-svn-id: https://develop.svn.wordpress.org/trunk@20531 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 06:58:24 +00:00
Daryl Koopersmith 424fcf2a6e Theme Customizer: Box model fixes for image picker thumbnails. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20530 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 06:45:31 +00:00
Daryl Koopersmith 9d5ecc02ae Theme Customizer: Begin improving image picker markup/styles. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20527 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 06:29:54 +00:00
Andrew Nacin 66bea4d318 Always return a WP_Theme object from wp_get_theme(). If we can't find the theme root, assume the default theme root. (Which will probably result in a WP_Theme object that returns false for the exists() method, which is fine.) see #20361.
git-svn-id: https://develop.svn.wordpress.org/trunk@20524 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 03:33:42 +00:00
Jon Cave c0dd73f68d Pass full user objects to clean_user_cache(). See #19500, fixes #20460.
Prevents notices when clean_user_cache() is called for a user that has been removed from the database.


git-svn-id: https://develop.svn.wordpress.org/trunk@20522 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 21:07:31 +00:00
bumpbot f8852b73a5 Compress scripts/styles: 3.4-beta2-20521. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20521 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:58:24 +00:00
Daryl Koopersmith e5a53305a2 Theme Customizer: Remove unused 'template' argument from wp_customize_url. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20520 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:57:06 +00:00
Andrew Ozz 8f64e53493 Remove extra slash when opening the gallery thickbox popup from the visual editor, props SergeyBiryukov, fixes #19850
git-svn-id: https://develop.svn.wordpress.org/trunk@20519 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:43:28 +00:00
Daryl Koopersmith 4d7ec3fc4c Remove jQuery postMessage plugin, as it is no longer used (as of [20517]). see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20518 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:32:13 +00:00
Daryl Koopersmith 27c4bc7b41 Theme Customizer: Use native postMessage for wp.customize.Messenger. see #19910.
* Removes use of jquery.postmessage.js
* Fixes bug where Opera would attempt to use the hash transport and redirect to the dashboard.
* Fixes bug where multiple postMessage connections could not coexist in a single frame.



git-svn-id: https://develop.svn.wordpress.org/trunk@20517 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:25:31 +00:00
bumpbot 3878924dc2 Compress scripts/styles: 3.4-beta2-20515.
git-svn-id: https://develop.svn.wordpress.org/trunk@20515 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 19:58:21 +00:00
Andrew Nacin 2aff808d88 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@20513 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 19:06:22 +00:00
bumpbot 22d478cc4c Compress scripts/styles: 3.4-beta2-20512.
git-svn-id: https://develop.svn.wordpress.org/trunk@20512 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 18:58:19 +00:00
Daryl Koopersmith d12a811fdd Theme Customizer: Color control hover styles. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20510 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 18:01:20 +00:00
bumpbot 7f9590ce94 Compress scripts/styles: 3.4-beta2-20509.
git-svn-id: https://develop.svn.wordpress.org/trunk@20509 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 17:58:18 +00:00
Daryl Koopersmith 87e47358fb Theme Customizer: Remove redundant call to wp_enqueue_script. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20507 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 17:17:14 +00:00
Daryl Koopersmith ae95c22e27 Remove 'visibility' parameter from WP_Customize_Control. Handle control visibility in JS instead. see #19910.
* Have the header text color picker display only when header_textcolor != 'blank'



git-svn-id: https://develop.svn.wordpress.org/trunk@20506 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 17:13:31 +00:00
bumpbot d4e2dfabd0 Compress scripts/styles: 3.4-beta2-20505.
git-svn-id: https://develop.svn.wordpress.org/trunk@20505 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 14:58:20 +00:00
Daryl Koopersmith fc4837eb62 Theme Customizer: Improve markup/styles for opened color picker. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20504 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 14:32:05 +00:00
Andrew Nacin 56c8f84be7 Update swfobject
git-svn-id: https://develop.svn.wordpress.org/trunk@20501 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 13:36:32 +00:00
bumpbot 92df22f372 Compress scripts/styles: 3.4-beta2-20500.
git-svn-id: https://develop.svn.wordpress.org/trunk@20500 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 23:58:21 +00:00
Ryan Boren 9e2a50812f Update swfobject
git-svn-id: https://develop.svn.wordpress.org/trunk@20498 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 23:09:29 +00:00
Daryl Koopersmith c7c8d0a2d6 Theme Customizer: Improve color picker toggle styles and markup. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20497 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 22:58:58 +00:00
Andrew Nacin bfae415dd9 Move to admin.php?customize=on&theme=$stylesheet, rather than juggling both template and stylesheet values. see #19910.
Combine the setup_theme() and customize_previewing() methods. Remove the set_template() and set_stylesheet() methods. Add set_theme() method to WP_Customize to store the working WP_Theme object. We will use this for the stylesheet and template.

Use the WP_Theme display() method when preparing headers for display, not get() or the deprecate properties.



git-svn-id: https://develop.svn.wordpress.org/trunk@20496 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 21:43:47 +00:00
Daryl Koopersmith d6dc48bb27 Theme Customizer: Display 'Save and Activate' when switching themes. Add and properties to the WP_Customize class. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20495 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 20:49:39 +00:00
Andrew Nacin 5028f1f6b0 Restore semicolons to the end of jQuery UI files, as they are needed when concatenating the files together. Will be adjusted upstream as well. props ocean90. fixes #20466.
git-svn-id: https://develop.svn.wordpress.org/trunk@20494 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 20:34:45 +00:00
Andrew Nacin c505adf210 jQuery UI 1.8.19. props ocean90. fixes #20466.
git-svn-id: https://develop.svn.wordpress.org/trunk@20492 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 16:49:17 +00:00
Andrew Nacin 6588a3fa0c No need for by-reference when calculating the queried object in PHP5. props SergeyBiryukov, duck_, fixes #20039.
git-svn-id: https://develop.svn.wordpress.org/trunk@20491 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 03:41:07 +00:00
bumpbot 7593627d19 Compress scripts/styles: 3.4-beta2-20489.
git-svn-id: https://develop.svn.wordpress.org/trunk@20489 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 23:58:25 +00:00
Daryl Koopersmith bb5254fe36 Theme Customizer: Integrate with browser history. Use window.history by default, with window.onhashchange as a fallback. fixes #20337, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20488 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 23:07:23 +00:00
Andrew Nacin 70431f074c Escape special characters when outputting DB failures. see #13839.
git-svn-id: https://develop.svn.wordpress.org/trunk@20483 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 21:55:47 +00:00
Andrew Nacin aa450a1d3a Add arrays together in WP_Theme::get_allowed() to preserve keys (theme names could be numeric). props ocean90, fixes #15306.
git-svn-id: https://develop.svn.wordpress.org/trunk@20481 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 18:37:57 +00:00
Andrew Nacin f107d5e049 Fix typo in filter name for wp_die() APP request handler. props benbalter, fixes #20457.
git-svn-id: https://develop.svn.wordpress.org/trunk@20480 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 16:15:18 +00:00
bumpbot 1fc608b2e0 Compress scripts/styles: 3.4-beta2-20478.
git-svn-id: https://develop.svn.wordpress.org/trunk@20478 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:58:23 +00:00
Andrew Nacin 266a785f77 Theme Customizer: Stick to wp_customize_url() instead of wp_customize_href(). Switch argument order so it is stylesheet-template. (Template is hypothetically optional, but the function will not support that.) see #19910.
Move to ->display('Name'), as ->get('Name') is a raw, untranslated version of the header.



git-svn-id: https://develop.svn.wordpress.org/trunk@20477 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:36:47 +00:00
Daryl Koopersmith a43958baeb Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910.
* Move the 'Return to Manage Themes' and 'Collapse Sidebar' actions from themes.php to customize-controls.php.
* Create a postMessage connection between themes.php and customize-controls.php.
* Allow the theme customizer to be accessed directly (independent of themes.php and the customize loader).
* Add wp_customize_href() and wp_customize_url().
* Remove wp_customize_loader(). To include the loader, use wp_enqueue_script( 'customize-loader' ).
* The theme customizer now requires postMessage browser support.
* Add .hide-if-customize and .hide-if-no-customize CSS classes.
* Clean up customize-preview.js.

git-svn-id: https://develop.svn.wordpress.org/trunk@20476 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:02:28 +00:00
Andrew Nacin 12fdeee2d2 Move from $taxonomy_name to $taxonomy in XML-RPC for consistency with the rest of the core APIs. props maxcutler, fixes #20397.
git-svn-id: https://develop.svn.wordpress.org/trunk@20469 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 16:47:31 +00:00
bumpbot c6317cb5fe Compress scripts/styles: 3.4-beta2-20468.
git-svn-id: https://develop.svn.wordpress.org/trunk@20468 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-14 19:58:19 +00:00
Andrew Ozz ed87c7abd1 Plupload: no need to reset the queue when one file fails (handled internally), see #20422
git-svn-id: https://develop.svn.wordpress.org/trunk@20467 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-14 19:51:55 +00:00
Jon Cave c796066fac Recognise protocols other than "http" in _links_add_base(). Props SergeyBiryukov. Fixes #19665.
Previously "https" URLs used in plugin READMEs displayed by install_plugin_information() would have the plugin's extend URL prepended.


git-svn-id: https://develop.svn.wordpress.org/trunk@20466 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-14 19:14:10 +00:00
Jon Cave 7953f9e753 Fix typo and terminology in Twenty Eleven's header template. Props JarretC. Fixes #20442.
git-svn-id: https://develop.svn.wordpress.org/trunk@20465 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-14 19:02:04 +00:00
bumpbot 0081ba2954 Compress scripts/styles: 3.4-beta2-20464.
git-svn-id: https://develop.svn.wordpress.org/trunk@20464 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-13 23:58:20 +00:00
Andrew Ozz 1380c985cf Update Plupload to 1.5.4, props SergeyBiryukov, fixes #20422
git-svn-id: https://develop.svn.wordpress.org/trunk@20463 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-13 23:23:13 +00:00
Andrew Nacin 9d5156c1bb Move from 'featured image' to 'post thumbnail' in the XML-RPC API. props maxcutler, fixes #20396.
git-svn-id: https://develop.svn.wordpress.org/trunk@20462 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-13 20:23:31 +00:00
Ryan Boren 8caae7f602 Don't update a blog's last_updated time for all post deletions. Update only when published posts are deleted.
Props SergeyBiryukov
fixes #20433


git-svn-id: https://develop.svn.wordpress.org/trunk@20461 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-13 17:30:37 +00:00
bumpbot acfa043b2a Compress scripts/styles: 3.4-beta2-20460.
git-svn-id: https://develop.svn.wordpress.org/trunk@20460 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 22:58:24 +00:00
bumpbot 094fca576e Compress scripts/styles: 3.4-beta2-20457.
git-svn-id: https://develop.svn.wordpress.org/trunk@20457 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:58:23 +00:00
Daryl Koopersmith 6685c0fd9d Theme Customizer: RTL styles. props ocean90. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20456 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:53:19 +00:00
Ryan Boren d1100bacb4 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.
fixes #19663


git-svn-id: https://develop.svn.wordpress.org/trunk@20453 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 18:49:48 +00:00
bumpbot c08d986825 Compress scripts/styles: 3.4-beta2-20452.
git-svn-id: https://develop.svn.wordpress.org/trunk@20452 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 17:58:20 +00:00
Andrew Ozz fe2749eedd Add RTL/LTR button to the html editor, props yoavf, fixes #13070
git-svn-id: https://develop.svn.wordpress.org/trunk@20451 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 17:52:54 +00:00
Andrew Nacin bae5393651 3.4-beta2.
git-svn-id: https://develop.svn.wordpress.org/trunk@20450 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 03:43:19 +00:00
Andrew Ozz e032e94c4f Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410
git-svn-id: https://develop.svn.wordpress.org/trunk@20449 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 00:16:37 +00:00
Andrew Nacin 5ff62a4351 Compress scripts/styles: 3.4-beta1-20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20448 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 22:03:24 +00:00
Ryan Boren 70b6ecacd3 Don't do a canonical redirect for singular paged pages when on the front-page. This was breaking pagination on sites with a static home page. Props batmoo. see #20385
git-svn-id: https://develop.svn.wordpress.org/trunk@20444 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:18:40 +00:00
Ryan Boren 1df5a7cf30 Don't attempt to make links inside attributes clickable. Props duck_ azaozz. fixes #20418
git-svn-id: https://develop.svn.wordpress.org/trunk@20443 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:14:13 +00:00
Ryan Boren beb1d196b3 Add terminal punctuation to some signup error messages. Props dllh. fixes #20332
git-svn-id: https://develop.svn.wordpress.org/trunk@20441 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:41:59 +00:00
Ryan Boren 03512f97e8 Move deletion of auto-draft posts to the wp_scheduled_delete cron function. Props mgolawala. fixes #19663
git-svn-id: https://develop.svn.wordpress.org/trunk@20440 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:39:09 +00:00
Andrew Nacin beac0e2e0f Add view_item to the phpdoc for get_taxonomy_labels(). props Caspie. fixes #20406.
git-svn-id: https://develop.svn.wordpress.org/trunk@20436 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:08:30 +00:00
Andrew Nacin 1909f3fbeb Use the metadata API rather than raw queries and direct do_action calls. see #20417.
git-svn-id: https://develop.svn.wordpress.org/trunk@20435 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:02:39 +00:00
bumpbot 45081349a3 Compress scripts/styles: 3.4-beta1-20434.
git-svn-id: https://develop.svn.wordpress.org/trunk@20434 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 02:58:23 +00:00
Andrew Ozz 3b9e5468e1 Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20433 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 02:20:51 +00:00
bumpbot 8b4f1495f3 Compress scripts/styles: 3.4-beta1-20429.
git-svn-id: https://develop.svn.wordpress.org/trunk@20429 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 00:58:23 +00:00
Andrew Ozz 2b1eb4f028 Fix inserting links in the HTML editor in IE9, fixes #19528
git-svn-id: https://develop.svn.wordpress.org/trunk@20428 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 00:20:42 +00:00
Jon Cave c3a7874f33 Don't override the $current_user global in get_currentuserinfo() on an XML-RPC request
if it's non-empty. Fixes capabilities checks for XML-RPC requests. See #20372.


git-svn-id: https://develop.svn.wordpress.org/trunk@20424 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 16:19:53 +00:00
Ryan Boren 27592057cd Pass post_type to clean_post_cache() instead of attempting to fetch a post object since the post may have been deleted.
Props leewillis77
see #19690


git-svn-id: https://develop.svn.wordpress.org/trunk@20423 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 16:09:44 +00:00
Andrew Ozz 69eca59eba Consistently remove links to media-new.php for mobile devices, props SergeyBiryukov, see #20405
git-svn-id: https://develop.svn.wordpress.org/trunk@20422 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 03:18:48 +00:00
bumpbot 0a656052ab Compress scripts/styles: 3.4-beta1-20421.
git-svn-id: https://develop.svn.wordpress.org/trunk@20421 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:58:27 +00:00
Daryl Koopersmith 955ca76116 Replace all instances of thickbox theme preview with the theme customizer. fixes #20404.
* Use theme customizer in theme install/update screens.
* Separate the customize loader from the customizer. Use wp_customize_loader() to include the loader script and markup.
* Deprecated: wp-admin/js/theme-preview.js is now no longer used by core.

git-svn-id: https://develop.svn.wordpress.org/trunk@20419 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:25:03 +00:00
Andrew Ozz bce0d37a67 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20417 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:19:30 +00:00