Commit Graph

236 Commits

Author SHA1 Message Date
Andrew Ozz e54acbc473 Display "Dimensions" only for image attachments, fixes #11403
git-svn-id: https://develop.svn.wordpress.org/trunk@12378 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:02:26 +00:00
Andrew Ozz 770fd776d7 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: https://develop.svn.wordpress.org/trunk@12377 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 06:40:16 +00:00
Mark Jaquith db7d45ebe2 Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
git-svn-id: https://develop.svn.wordpress.org/trunk@12355 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:03:26 +00:00
Mark Jaquith 507cf49e1b Do not show "Use as thumbnail" in standalone media browser, but DO show it when you upload a new image on a post. fixes #11366
git-svn-id: https://develop.svn.wordpress.org/trunk@12352 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 07:04:01 +00:00
Mark Jaquith ab97039f96 Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 06:14:36 +00:00
Ryan Boren 3d6a741305 Allow registering post image support per post type. fixes #11364
git-svn-id: https://develop.svn.wordpress.org/trunk@12350 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 15:39:20 +00:00
Mark Jaquith ce73d32830 Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: https://develop.svn.wordpress.org/trunk@12344 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:27:53 +00:00
Mark Jaquith 51e25872a6 Standardize around "post image" instead of "post thumbnail"
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:34:04 +00:00
Ryan Boren d6003d7fa6 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: https://develop.svn.wordpress.org/trunk@12308 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 20:00:33 +00:00
Andrew Ozz a308e5f1da Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: https://develop.svn.wordpress.org/trunk@12304 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 09:22:48 +00:00
Andrew Ozz a772d3fe2c Hide Cancel link in the browser uploader on Media Library screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@12297 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 20:58:12 +00:00
Ryan Boren 68985dce07 escape hrefs. Props Denis-de-Bernardy. fixes #10056
git-svn-id: https://develop.svn.wordpress.org/trunk@12295 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 16:55:50 +00:00
Andrew Ozz ed11892e7f Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12289 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 02:56:15 +00:00
Andrew Ozz 1d918ec7f7 Fix typo, props nacin, fixes #8557
git-svn-id: https://develop.svn.wordpress.org/trunk@12283 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 08:13:31 +00:00
Ryan Boren 4fd7b2fd8b Fix warnings
git-svn-id: https://develop.svn.wordpress.org/trunk@12246 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 19:46:10 +00:00
Ryan Boren 9c74c25f37 Remove reference to non-existent field. Props scribu. fixes #11098
git-svn-id: https://develop.svn.wordpress.org/trunk@12242 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 15:26:14 +00:00
Andrew Ozz 6f4ae7b89a Submit the "Save all changes" form by pressing Enter, props abackstrom, fixes #8557
git-svn-id: https://develop.svn.wordpress.org/trunk@12240 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 06:07:54 +00:00
Ryan Boren 42a3082c21 Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: https://develop.svn.wordpress.org/trunk@12231 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:49:16 +00:00
Andrew Ozz 51f2c4d17d Add labels to image info in the media library, fixes #8886
git-svn-id: https://develop.svn.wordpress.org/trunk@12195 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 00:11:49 +00:00
Andrew Ozz e085e3485e Don't show trashed attachments in gallery tab count, props aldenta, fixes #11147
git-svn-id: https://develop.svn.wordpress.org/trunk@12190 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 07:54:02 +00:00
Andrew Ozz 3e1d80eb42 Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons
git-svn-id: https://develop.svn.wordpress.org/trunk@12189 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 07:16:34 +00:00
Andrew Ozz ac9c33e0e9 Fix improper selection of radio buttons, improve JS for storing image settings, fixes #11021
git-svn-id: https://develop.svn.wordpress.org/trunk@12188 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 01:37:30 +00:00
Andrew Ozz 0093a3a989 Remove all instances of "Trash" from the UI when Trash is disabled, replace trash actions with "Delete permanently", props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12162 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 10:38:19 +00:00
Andrew Ozz e15e8b710d Don't pre-fill empty image alt when inserting into a post.
git-svn-id: https://develop.svn.wordpress.org/trunk@12161 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 00:09:40 +00:00
Ryan Boren 53321a0093 Call get_post_image_id() only if current_theme_supports( 'post-thumbnails' ).
git-svn-id: https://develop.svn.wordpress.org/trunk@12137 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 18:00:41 +00:00
Andrew Ozz 54c1db8dd0 Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12130 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-30 07:09:55 +00:00
Mark Jaquith a556c8ce89 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: https://develop.svn.wordpress.org/trunk@12110 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 17:56:28 +00:00
Andrew Ozz 104abc4a7b When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12098 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-24 11:43:42 +00:00
Mark Jaquith de9c049065 Save some clicks and optimize for the Upload, Set as thumbnail flow. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12081 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-21 07:27:33 +00:00
Andrew Ozz da41fd8836 Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12060 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 20:23:35 +00:00
Mark Jaquith d3f1d779f3 Only show Use for thumbnail link for image attachments. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12059 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 16:36:21 +00:00
Andrew Ozz a68beea184 Separate fields for image alt and image caption in the uploader.
git-svn-id: https://develop.svn.wordpress.org/trunk@12055 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 05:09:41 +00:00
Andrew Ozz fa3370c044 Properly escape filename when sending to editor, props hakre sivel, fixes #10252
git-svn-id: https://develop.svn.wordpress.org/trunk@12051 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 06:14:16 +00:00
Mark Jaquith 0818d29d6e Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12036 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:57:16 +00:00
Mark Jaquith a3bf844ed3 Constrain admin thumbnail display to width of meta box while in sidebar. Add filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@12018 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 07:41:42 +00:00
Mark Jaquith ab98fc356b First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12007 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 22:18:09 +00:00
Ryan Boren 3f0243f75e Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866
git-svn-id: https://develop.svn.wordpress.org/trunk@11989 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:50:28 +00:00
Andrew Ozz 5e878a916d Image Editor improvements, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11965 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 01:54:07 +00:00
Ryan Boren 5fa5b6d05b Press This fixes. Props noel. fixes #10784
git-svn-id: https://develop.svn.wordpress.org/trunk@11944 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:36:59 +00:00
Andrew Ozz 4f22e99cf5 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11911 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 22:07:33 +00:00
Ryan Boren eac87a3f7d Pass logged_in cookie to async-upload. Props nbachiyski. fixes #10739
git-svn-id: https://develop.svn.wordpress.org/trunk@11904 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 15:22:42 +00:00
Peter Westwood 6b5f25507e Always filter the url in the media upload form. Fixes #10707 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@11896 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:44:17 +00:00
Andrew Ozz 8d2e2d9bc7 Add global JS vars and actions to the media uploader iframe
git-svn-id: https://develop.svn.wordpress.org/trunk@11868 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 00:09:39 +00:00
Andrew Ozz 782977afbf "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11841 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 08:35:24 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Peter Westwood 195411b214 Fix typo in type_url_from_video() link text description. Fixes #10071 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11704 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-09 21:21:57 +00:00
Ryan Boren ce546f6edd Don't lose upload error messages. Props filosofo. fixes #10238 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11638 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-25 06:09:22 +00:00
Peter Westwood f61cd95c52 Remove the cruft. Fixes #10227 for trunk props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@11619 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-20 18:50:31 +00:00
Andrew Ozz bc96c76ad6 Fix the flash uploader button font, props demetris, fixes #10113 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11559 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-13 09:37:19 +00:00
Peter Westwood 6e481f5d1e Ensure the errors array is always defined so as to always have something to return
git-svn-id: https://develop.svn.wordpress.org/trunk@11492 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-30 09:55:32 +00:00