bumpbot
0e62b927c3
Compress scripts/styles: 3.5-RC1-22909.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22909 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 22:58:34 +00:00
Andrew Nacin
5aac5cb3de
Use the create_posts post type cap in more places. Remove the janky create_posts meta cap. see #16714 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22908 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 22:28:20 +00:00
Ryan Boren
4e51b43ad3
Media modal: Don't fire two AJAX calls on settings update.
...
Props koopersmith
fixes #22611
git-svn-id: https://develop.svn.wordpress.org/trunk@22907 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 22:27:13 +00:00
Andrew Nacin
cb529c080a
Adjust size of the 'Clear List' list table button. Fix placement of other buttons next to bulk actions. props johnbillion, SergeyBiryukov, fixes #22621 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22906 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 22:20:45 +00:00
Andrew Ozz
f2c4ad72d6
Media in Internet Explorer: ensure we save the caret bookmark for IE in TinyMCE for the right instance, fixes #22446
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22905 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 21:45:10 +00:00
Andrew Nacin
c121dfb0fc
Explicitly check for version 2.2.0 or higher of the Imagick PHP module, to ensure we can call queryFormats() statically. props DH-Shredder, fixes #22308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22904 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 21:41:44 +00:00
Andrew Nacin
fdfa14f185
Reorganize and polish the About WordPress 3.5 screen. Offer strings for translation.
...
props lessbloat, helenyhou, markjaquith, nacin.
fixes #22455 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22903 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 21:00:09 +00:00
Ryan Boren
bb1760e226
Route uploads through async-upload.php instead of admin-ajax.php.
...
Props nacin, koopersmith
fixes #22622
git-svn-id: https://develop.svn.wordpress.org/trunk@22902 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 20:17:57 +00:00
bumpbot
8925a2cf34
Compress scripts/styles: 3.5-RC1-22901.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22901 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 18:58:34 +00:00
Andrew Nacin
b60b857268
Use create_posts whenever linking to post-new.php. props johnbillion. fixes #16714 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22900 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 18:24:11 +00:00
Lance Willett
2ebf4fb23c
Twenty Twelve: change form input selectors to only reset non-textual input types, allowing for broader support for newer HTML5 input types. Also add better {{{button}}} support. Fixes #20579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22899 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 18:17:38 +00:00
Lance Willett
cd3696b902
Twenty Eleven: style a few more common input types. See #20579 and #21757 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22898 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 18:04:17 +00:00
Lance Willett
67891fed5c
Twenty Ten: style a few more input types, and fix missing quotes around types in selectors. See #20579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22897 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 17:49:43 +00:00
Lance Willett
ad3203f15f
Twenty Twelve: only use comment thread indentation when above the first breakpoint, to avoid super-narrow indented comments in small screens. Closes #21405 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22896 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 17:43:46 +00:00
Andrew Nacin
2520705252
Media: Rename the dialog to 'Add Media' from 'Insert Media' to match the button. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22895 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 17:18:50 +00:00
Andrew Nacin
d6f636d353
Some IE7 CSS hacks for media to fix the gallery view. props lessbloat. fixes #22609 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22894 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 17:17:43 +00:00
bumpbot
e1b8f42f4d
Compress scripts/styles: 3.5-RC1-22893.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22893 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 04:58:34 +00:00
Andrew Nacin
af63ca6803
Check if the object is empty, as objects are always truthy. props koopersmith. see #22593 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22892 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 04:41:24 +00:00
Andrew Nacin
82622db77e
In the gallery shortcode, handle mapping of "ids" to include and orderby before the post_gallery filter. see #21816 . fixes #22617 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22891 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 03:51:27 +00:00
bumpbot
19e522e83b
Compress scripts/styles: 3.5-RC1-22890.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22890 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 02:33:43 +00:00
Andrew Nacin
0cebbfe3e6
Media: Remove the link to the browser uploader. The only need for it is large files (> 100MB) in certain browsers (IE, Opera), so we will show the link then only. fixes #22604 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22889 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 02:28:10 +00:00
Andrew Nacin
99845d0384
Ensure attachment modal details are saved before the attachment details view is destroyed. props koopersmith. fixes #22593 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22888 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 02:03:31 +00:00
Daryl Koopersmith
2422ab4b83
Responsive CSS for the media modal. props azaozz. see #22615 , #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22887 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 01:51:15 +00:00
Ryan Boren
c5c74b7a39
Scope media views CSS fallbacks.
...
Props koopersmith
fixes #22616
git-svn-id: https://develop.svn.wordpress.org/trunk@22886 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 01:45:06 +00:00
bumpbot
a5d63fdb91
Compress scripts/styles: 3.5-RC1-22885. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22885 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 00:58:44 +00:00
Andrew Nacin
6b911fa633
wp_print_media_templates() does not take an argument.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22884 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 23:50:26 +00:00
Andrew Nacin
92e85f9957
Editor: When hiding gallery/image editing buttons, use Sizzle rather than TinyMCE's internal DOM object. Avoids errors in case the elements do not exist, such as in Press This. props azaozz. fixes #22463 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22883 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 23:36:07 +00:00
Andrew Nacin
da9ff4451d
When editing a plain, legacy [gallery] shortcode, ensure we are sorting its contents using menu_order.
...
When attachments are sorted, we convert the shortcode to [gallery ids=""], as before.
props koopersmith.
fixes #22608 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22882 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 23:20:12 +00:00
Andrew Nacin
7ecac8a876
Media: Ensure the edit image and gallery buttons appear above DFW. They only must appear below the media modal. fixes #22541 . props koopersmith.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22881 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 23:07:41 +00:00
Andrew Nacin
55290a2004
Don't label the form on media-new.php an upload form to avoid esoteric breakage. In past lives, the form has been more complicated than the standard .wp-upload-form use case, with submit buttons that are not just for the uploader, which means we really can't disable them here.
...
Reverts part of [22663]. see #20855 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22880 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 22:41:15 +00:00
bumpbot
8d72af5bfc
Compress scripts/styles: 3.5-RC1-22879. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22879 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 20:58:37 +00:00
Ryan Boren
bf812ac283
Clear the object term relationships cache in wp_set_object_terms() rather than wp_set_post_terms(). This should be done lower in the stack than wp_set_post_terms().
...
Props batmoo
fixes #22560
git-svn-id: https://develop.svn.wordpress.org/trunk@22878 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 19:42:38 +00:00
Andrew Nacin
bccdaa137d
Media in Internet Explorer: Properly insert attachments into the editor at the location of the cursor. props azaozz. fixes #22446 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22877 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 19:24:56 +00:00
Andrew Nacin
3b941ca1b8
Media: IE fixes for attachment selections. props lessbloat. see #22446 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22876 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 19:14:36 +00:00
Andrew Nacin
7f34c3e8ec
Media: Introduce wp.media.editor.open(editor_id) and leverage it in distraction-free writing (fullscreen). props azaozz, koopersmith. fixes #22541 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22875 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 19:09:00 +00:00
Andrew Nacin
ae3472b2a2
Feature pointers:
...
* Finalize the text for the media pointer. Offer it for translation.
* Remove the favorites pointer.
fixes #22454 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22874 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 18:58:07 +00:00
bumpbot
fad058bf84
Compress scripts/styles: 3.5-RC1-22873.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22873 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 16:58:37 +00:00
Ryan Boren
d2d01ad797
Always send nocache_headers() for admin-ajax.php. This prevents iOS from caching ajax calls. http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results
...
Turn off multi selection uploads for mobile devices. Currently Plupload cannot upload multiple files in iOS Safari. Only the first file makes it to the queue.
Empty wp on unload to work around caching in iOS Safari.
Props azaozz, miqrogroove, nacin
fixes #22552
git-svn-id: https://develop.svn.wordpress.org/trunk@22872 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 16:17:53 +00:00
Ryan Boren
3c3233df00
Show plugin activation message when activating a network only plugin on a single site installation.
...
Props nacin
fixes #22576
git-svn-id: https://develop.svn.wordpress.org/trunk@22871 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 16:08:35 +00:00
Ryan Boren
e0a32fe27b
Fix overflow of long filenames in the media modal.
...
Props koopersmith, GregLone
fixes #22554
git-svn-id: https://develop.svn.wordpress.org/trunk@22870 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 15:58:47 +00:00
Ryan Boren
6a9c14ed5f
Add a delete link to the media modal.
...
Props merty, nacin, koopersmith
fixes #22524
git-svn-id: https://develop.svn.wordpress.org/trunk@22869 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 15:50:59 +00:00
Ryan Boren
1f4eed3141
Don't use "embed" when referring to inserting from URL.
...
Props nacin
fixes #22603
git-svn-id: https://develop.svn.wordpress.org/trunk@22868 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 15:35:36 +00:00
Ryan Boren
6099051c3e
Only show the image edit button for image attachments. Props markoheijnen. fixes #22596
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22867 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 15:06:02 +00:00
Ryan Boren
b750487b07
Fix dragging in IE10 on touch devices.
...
Props georgestephanis, koopersmith
fixes #22583
git-svn-id: https://develop.svn.wordpress.org/trunk@22866 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 15:00:00 +00:00
Ryan Boren
b1f07f0ae1
Back compat $_REQUEST['post_id'] for media XHR requests.
...
Props koopersmith, nacin.
fixes #22588
git-svn-id: https://develop.svn.wordpress.org/trunk@22865 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 14:58:08 +00:00
Ryan Boren
31c86e27c2
Clean up WP_Image_Editor_Imagick::test(). Props DH-Shredder. see #22543
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22864 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 14:52:24 +00:00
Ryan Boren
8b1ebd858a
In wp_image_editor(), use wp_image_editor_supports() to check for rotation capabilities rather than directly checking the existence of the imagerotate function.
...
In WP_Image_Editor_GD::test(), check for existence of imagerotate if the rotate capability is required.
Props DH-Shredder
fixes #22597
git-svn-id: https://develop.svn.wordpress.org/trunk@22863 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 14:36:55 +00:00
Andrew Nacin
f7b3d1a854
Make the return of is_upload_space_available() more obvious. props georgestephanis. see #22585 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22861 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 03:42:02 +00:00
bumpbot
91f6658471
Compress scripts/styles: 3.5-RC1-22860. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22860 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 02:58:50 +00:00
Andrew Nacin
929d79714b
Remove wp_image_editor_class filter. wp_image_editors is sufficient. props scribu. fixes #22538 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22859 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 02:27:11 +00:00