Andrew Ozz
c4622fdbf7
Editor: disable the textarea resizing handle on touch devices (cannot be used there), don't save TinyMCE's height in iOS as the user cannot set/change it there (it expands the iframe to full height), see #21718
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22606 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-16 00:34:07 +00:00
Daryl Koopersmith
b13b36db98
Media: Remove dead CSS. props ocean90, see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22605 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-16 00:04:37 +00:00
Daryl Koopersmith
0583ab09f3
Media: RTL styles for the media modal. props ocean90. see #22453 , #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22604 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 23:58:33 +00:00
Daryl Koopersmith
ee694739ec
Media: Update in-grid captions.
...
* Use input fields instead of textboxes (which provide better handling for smaller attachments).
* Provide `data-setting` properties to properly sync the changes.
see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22603 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 23:53:06 +00:00
Andrew Ozz
c20cd04a7b
TinyMCE: fix and improve the popup buttons for editing images and galleries show/hide for touch devices, fix inconsistency in iOS when "touching" an image inside a link, see #21390
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22602 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 23:49:19 +00:00
bumpbot
16efc358df
Compress scripts/styles: 3.5-beta3-22601. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22601 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 22:58:31 +00:00
Andrew Ozz
3fb4a69c08
TinyMCE: extend the allowed obsolete attributes to include tr, th and td (thead, tfoot and tbody weren't around in HTML 3.2), see #22175
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22600 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 22:56:44 +00:00
Andrew Nacin
709b1f25d0
Remove SimplePie 1.2/1.3 compatibility code no longer needed with 1.3.1. see #22321 . see #21183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22599 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 09:51:02 +00:00
bumpbot
6b7e6f9271
Compress scripts/styles: 3.5-beta3-22598.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22598 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 04:58:34 +00:00
Daryl Koopersmith
4a96fa19a4
Media: Only show the edit selection link for the media library. Make the upload attachments list sortable. Only retain the silent
option when running Attachments.validate()
. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22597 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 03:09:35 +00:00
bumpbot
3db488d2e3
Compress scripts/styles: 3.5-beta3-22596.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22596 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 02:58:37 +00:00
Daryl Koopersmith
a3c53653ba
Media: Prevent text from being selected in the menu. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22595 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 02:51:31 +00:00
Daryl Koopersmith
bf105feb4e
Media: Enter batch insert workflow by editing the selection instead of having an explicit button. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22594 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 02:36:06 +00:00
Andrew Nacin
858f0343d3
jQuery 1.8.3. fixes #22432 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22593 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 02:26:22 +00:00
Andrew Nacin
2dac32634e
Round rather than floor values in image editing JS to avoid decrementing values on each run. props SergeyBiryukov. fixes #22011 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22592 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 02:20:29 +00:00
potbot
45bcf643e8
POT, generated from r22589
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22591 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 01:19:13 +00:00
potbot
a5baedb09f
POT, generated from r22589
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22590 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 01:19:08 +00:00
bumpbot
33cbea6805
Compress scripts/styles: 3.5-beta3-22589. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22589 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 00:58:36 +00:00
Lance Willett
43107f767c
Twenty Eleven: better closed comments notes. Check only for "comment" type comments when deciding whether to show the message. Props iandstewart and obenland, closes #20469 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22588 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 00:48:03 +00:00
Lance Willett
05d7baa79a
Twenty Twelve: better closed comments notes. Check only for "comment" type comments when deciding whether to show the message.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22587 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 00:43:43 +00:00
Andrew Ozz
434af4ce3e
TinyMCE: fix styles, add 2x background icons and load buttons.css in the Edit Image modal, remove wp-view styles from content.css, add 2x icons for the popup buttons (for editing image and gallery), fixes #22447 , see #21019
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22586 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 23:21:59 +00:00
bumpbot
5c08470293
Compress scripts/styles: 3.5-beta3-22584.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22585 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:58:34 +00:00
Peter Westwood
5013098029
XMLRPC: When Editing an existing post make sure to use wp_update_post instead of wp_insert_post so as to not perform destructive actions on the content.
...
The wp.EditPost() API will accept very limited data to only edit specific attributes of a post, if you didn't supply a category change then we would previously
overwrite the original categories with the default cat.
Fixes #22220 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@22584 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:58:24 +00:00
Daryl Koopersmith
38a2ba2c5b
Media: Unify the "Insert" and "Insert.Post" toolbars. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22583 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:40:34 +00:00
Andrew Nacin
3d75ef25d8
For postboxes, only show arrows/handles on hover when JS is enabled (for HiDPI). props TobiasBg. fixes #21611 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22582 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:22:55 +00:00
Andrew Nacin
d1e099ce09
Require Imagick 2.1.1 or greater, based on whether the queryFormats() method can be called statically.
...
props markoheijnen, DH-Shredder. fixes #22308 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22581 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:19:32 +00:00
Daryl Koopersmith
55a3f09ec4
Media: Improve image size-related UI and code.
...
* Add dimensions to the "sizes" dropdown.
* Ensure a `full` size is generated in `wp_prepare_attachment_for_js()`.
* Print the dimensions for the full size in the attachment summary (instead of those for the current size).
* When generating the attachment view's template, map `imageSize()` to the `size` property instead of overriding the default data.
see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22580 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:08:02 +00:00
Lance Willett
a28704b09a
Twenty Twelve: style Multisite messages and forms to match the theme styles. Props DrewAPicture and obenland, fixes #22179 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22579 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:04:25 +00:00
Daryl Koopersmith
57e98a72d2
Media: Convert templates to use a data variable instead of with statements. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22578 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 21:51:41 +00:00
Lance Willett
a2cc96bd34
Twenty Twelve: revert accidental paste in r22576, see #22359 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22577 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 21:38:34 +00:00
Lance Willett
e94de95731
Twenty Twelve: wrap long text and URLs in entries. Props philiparthurmoore, fixes #22359 . (Also clean up property order a bit.)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22576 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 21:34:10 +00:00
Lance Willett
5678561273
Twenty Twelve: RTL update for text widget layout, props DrewAPicture and georgestephanis. Fixes #22390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22575 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 20:29:51 +00:00
Lance Willett
915b3eda40
Twenty Twelve: avoid JavaScript errors if navigation wrapper markup is removed from header. Fixes #22307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22574 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 20:21:01 +00:00
Lance Willett
83d6afd2fb
Twenty Twelve: fix text color contrast, props jorbin. See #22087 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22573 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 20:13:04 +00:00
bumpbot
78f2bf4c41
Compress scripts/styles: 3.5-beta3-22572. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22572 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 15:00:31 +00:00
Andrew Nacin
46a29a06e0
wp_generate_attachment_metadata() should not call WP_Image_Editor if there's nothing to resize. props mdawaffe. fixes #22438 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22571 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 14:26:52 +00:00
Daryl Koopersmith
b295ed0059
Media: Remove border from inline media uploader. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22570 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 09:33:15 +00:00
Daryl Koopersmith
902b910bea
Media: Declare wp.media.string methods in a single object. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22569 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 09:31:53 +00:00
Daryl Koopersmith
f684d6abc2
Media: Make edit gallery button use new media. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22568 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 09:06:10 +00:00
Daryl Koopersmith
223eb63b6f
Media: Restore 3.4 editor behavior and remove TinyMCE views.
...
* Reactivates the `wpgallery` and `wpeditimage` TinyMCE plugins. Deactivates the `wpviews` TinyMCE plugin.
* Moves still-relevant logic from `mce-views.js` to `media-upload.js` and `shortcode.js`.
* No longer include `wp-includes/js/mce-views.js`. This code will not be used in 3.5, and should be considered unstable.
* Currently, this is the real 3.4 experience; as such, editing triggers the old modals. Changing this is the next major step.
When reassessing views, we should look over all of these tickets and anticipate these bugs accordingly.
fixes #21813 , #22123 , #22155 , #22161 , #22257 , #22266 , #22318 , #22407 , see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22567 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 07:17:22 +00:00
Andrew Nacin
92d7e9db15
Pass 'blank' to Gravatar rather than sending blank.gif for Gravatar to proxy. props miqrogroove, fixes #22354 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22566 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 05:29:56 +00:00
Andrew Nacin
5de1543fc4
Avoid notices with [22426]. props pross. fixes #22420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22565 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 05:09:23 +00:00
Andrew Nacin
24e95b5bd9
Pass the post ID from the_shortlink() to wp_get_shortlink() to avoid a change in filters. props SergeyBiryukov, fixes #21309 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22564 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 05:05:34 +00:00
Andrew Nacin
3841bfba82
Revert accordion-delay code from [22400] that was causing problems. props lessbloat. fixes #21283 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22563 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 05:03:33 +00:00
Andrew Nacin
a861d88597
Sharper HiDPI alignment icons for TinyMCE. props lessbloat. fixes #22431 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22562 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 03:41:47 +00:00
Daryl Koopersmith
c77d7b96db
Media: Activate the featured image toolbar when the media dialog is first opened. see #21390 , #21776 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22561 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 02:39:54 +00:00
Mark Jaquith
ebe8d3e08f
Squash a PHP notice in the XML-RPC server.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22560 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-13 22:35:41 +00:00
Andrew Nacin
f3fac2add3
3.5-beta3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22559 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-13 04:06:51 +00:00
Daryl Koopersmith
b7395456eb
Media: Better image detection in the embed from URL tab. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22558 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-13 03:33:41 +00:00
Daryl Koopersmith
9fb6e29102
Media: Add support for applicable *-upload-ui hooks.
...
Supports pre-upload-ui, pre-plupload-upload-ui, post-plupload-upload-ui, post-upload-ui.
see #22186 , #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22557 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-13 01:50:08 +00:00