Commit Graph

9831 Commits

Author SHA1 Message Date
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