Ryan Boren
cb374258bb
Remove extraneuos newlines
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19623 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 18:42:11 +00:00
Ryan Boren
6610e321e7
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19528 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:51:35 +00:00
Andrew Ozz
8b90f3c7e5
Sanitize options for resizing in the uploader, props mhauan, nacin, fixes #19399
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19494 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:05:22 +00:00
Andrew Ozz
4feb285a78
Output the "After a file has been uploaded..." message by using the post-upload-ui action, fixes #18764
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19384 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 20:46:15 +00:00
Andrew Ozz
e94b9466a9
Show Insert into post button in the media library when the current post supports editor (not the attachment parent), props SergeyBiryukov, fixes #18912
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19350 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:28:39 +00:00
Andrew Ozz
de56df2004
Don't show the uploader on iPads (it's pointless), fixes #19004
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19335 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 08:43:16 +00:00
Andrew Ozz
6385e58b51
Change text prompt in HTML uploader, props jane, fixes #19276
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19330 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 01:25:27 +00:00
Andrew Nacin
9eef9937ee
Remove extra space. props danielbachhuber.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19317 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 04:41:51 +00:00
Andrew Ozz
3d33362b52
Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19286 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 23:21:16 +00:00
Andrew Ozz
9cc4fac7fa
Filter the link href when inserting external image in the editor, props DrewAPicture, fixes #18445
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19275 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 19:35:32 +00:00
Andrew Ozz
82f5175bf7
Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19268 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 18:37:30 +00:00
Andrew Ozz
3e06696012
Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19266 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 02:01:13 +00:00
Andrew Ozz
0620dbb5eb
Uploader: fix file-size-exceeded error handling, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19262 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:52:26 +00:00
Andrew Nacin
12cd7fe5ef
Normal sentence case. see #19228 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19260 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 20:32:20 +00:00
Andrew Ozz
7334506df0
Bring back the multi-file/html uploader switching, see #19228
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19257 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:40:23 +00:00
Ryan Boren
f42a7852c2
Don't show 'Use as featured image' in the image insert dialog if the post type does not support thumbnails. Props SergeyBiryukov. fixes #18669
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19256 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:38:34 +00:00
Andrew Ozz
448af8627c
Uploader: fix progress bar JS and update the style (light blue bars), see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19247 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:33:26 +00:00
Andrew Nacin
e7766adec1
Rename attachment link button from 'Post URL' to 'Attachment Post URL.' props jeremyclarke, fixes #13544 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19232 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:23:31 +00:00
Andrew Ozz
b9843de7a6
Revert media.php too, see #19174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19226 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:42:20 +00:00
Andrew Ozz
4c66628f35
Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19223 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:23:40 +00:00
Andrew Nacin
feca4c4984
Space out two strings. props ocean90, fixes #19167 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19181 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 20:21:12 +00:00
Andrew Ozz
cb40252565
Uploader: split "Drop files here -or-..." on two lines, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19177 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:09:38 +00:00
Andrew Ozz
3700b57fdc
Remove the Cancel Upload button, fixes #19050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19127 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:47:12 +00:00
Andrew Ozz
1746c2af62
Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19099 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:38:28 +00:00
Ryan Boren
fd10e500e4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:13:23 +00:00
Andrew Nacin
ed8f3c3f95
Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(). These now wrap wp_media_upload_handler() and wp_media_insert_url_form(). see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19046 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:58:06 +00:00
Andrew Nacin
c56c7320a3
Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996 . fixes #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18992 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:32:40 +00:00
Andrew Ozz
d1b8509e83
Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Jon Cave
d197a1d865
Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18977 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 10:43:55 +00:00
Andrew Ozz
573a1813dc
RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Andrew Ozz
e10d951cce
Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918 , see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18957 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 22:24:53 +00:00
Andrew Ozz
cfcb553dfb
Add translation comment, props ocean90, fixes #18881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18922 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 03:14:41 +00:00
Andrew Ozz
70a7bb3fe0
Fix prepending $editor_id to the Add Media link, see #17578
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18918 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:12:55 +00:00
Andrew Ozz
a115821842
Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18917 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 16:59:33 +00:00
Andrew Ozz
390650f410
As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18902 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:57:50 +00:00
Andrew Nacin
a8638d222d
Align the bytes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18895 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:57:17 +00:00
Andrew Nacin
7b1d7c6f12
type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18894 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:36:03 +00:00
Andrew Nacin
e386cb17c5
UI touches for the single media button. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18890 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:07:04 +00:00
Andrew Nacin
19d613fed2
Merge the four media buttons into one.
...
* Lots of red.
* Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
* Replacement filter is a generic type_url_form_media filter for the new unified form.
* Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578 .
git-svn-id: https://develop.svn.wordpress.org/trunk@18831 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:22:29 +00:00
Andrew Ozz
b969d2ea80
Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Andrew Ozz
bbd210992d
Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Jon Cave
85c211d2fe
Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206 . Fixes #18760 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18758 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 14:36:57 +00:00
Andrew Ozz
1948c952a4
Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18701 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 02:25:23 +00:00
Jon Cave
73744eb96c
Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18698 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 18:27:32 +00:00
Andrew Ozz
d20435eb03
Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18674 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 05:30:58 +00:00
Peter Westwood
a60b4ff564
When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18596 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 11:37:25 +00:00
Andrew Ozz
dde77fd41b
Merge most admin css files, first run, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz
b7e35b3f6c
Fix handling of resizing images after upload, props ocean90, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18517 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 21:04:15 +00:00
Andrew Ozz
aad319a3ac
Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18516 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 01:35:02 +00:00
Andrew Ozz
461ceba60d
Editor API enhancement, first run (still needs some work), see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00