Commit Graph

468 Commits

Author SHA1 Message Date
Ryan Boren
d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Ryan Boren
57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren
7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Dion Hulse
f72a1d860a Use the correct field when determining if the parent can support the Post Editor. See #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14146 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:09:45 +00:00
Andrew Nacin
56c7b309e6 More tweaks for thumbnail support when no editor support for custom post types. see #12792, props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14118 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 21:45:16 +00:00
Andrew Nacin
240551a9fa Fix notice in get_media_items().
git-svn-id: https://develop.svn.wordpress.org/trunk@14059 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:49:58 +00:00
Mark Jaquith
7c6b7b0a91 Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14015 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 11:20:47 +00:00
Dion Hulse
842e844bc5 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: https://develop.svn.wordpress.org/trunk@13940 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:12:49 +00:00
Dion Hulse
6740a74398 Do not add rel="attachment" for direct(File URL, not Post URL) links to non-media files in "Insert into Post". Fixes #7040
git-svn-id: https://develop.svn.wordpress.org/trunk@13875 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 09:57:34 +00:00
Andrew Nacin
ddc506f01c Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Andrew Nacin
8d0a3589c9 Use disabled() form helper. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13661 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:12:23 +00:00
Andrew Nacin
8b6b16cb2a s/onClick/onclick/. props TobiasBg, see #12429
git-svn-id: https://develop.svn.wordpress.org/trunk@13612 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:06:32 +00:00
Dion Hulse
0da34463e7 Display an Attachment Icon if an Attachment thumbnail is not available. Fixes display of Upload edit fields. Fixes #12328
git-svn-id: https://develop.svn.wordpress.org/trunk@13600 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:00:42 +00:00
Dion Hulse
38817d572b A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
git-svn-id: https://develop.svn.wordpress.org/trunk@13528 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:57:03 +00:00
Andrew Nacin
1cc5b31283 s/onClick/onclick/. props TobiasBg fixes #12429
git-svn-id: https://develop.svn.wordpress.org/trunk@13510 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:39:06 +00:00
Ryan Boren
9e5b6d1f34 Pass overrides. Allow ref array calling. Props tychay. fixes #12278
git-svn-id: https://develop.svn.wordpress.org/trunk@13290 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 16:54:51 +00:00
Dion Hulse
4df0240736 Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
git-svn-id: https://develop.svn.wordpress.org/trunk@13283 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:21:32 +00:00
Andrew Nacin
5d808fce86 Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +00:00
Andrew Nacin
d824d6bbd4 Improved IPTC and EXIF handling. Drag a wider net and also try to avoid numeric attachment slugs where possible. Props miqrogroove. See #11417
git-svn-id: https://develop.svn.wordpress.org/trunk@13244 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 09:17:34 +00:00
Andrew Nacin
6f1bfe6f0e Allow class/method array pair in wp_iframe() when checking callback name in determining whether to include media stylessheet. Props technosailor, fixes #11976
git-svn-id: https://develop.svn.wordpress.org/trunk@13243 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 08:19:44 +00:00
Dion Hulse
468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Andrew Nacin
0fc1312800 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Andrew Nacin
d43ba9114b Don't use deprecated functions. see #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:35:10 +00:00
Mark Jaquith
4c3fbea45a Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: https://develop.svn.wordpress.org/trunk@12986 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:31:38 +00:00
Ryan Boren
107f08638f Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: https://develop.svn.wordpress.org/trunk@12972 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:59:18 +00:00
Ryan Boren
ef25305270 Merge mu_media_buttons() into media_buttons(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12955 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:28:52 +00:00
Ryan Boren
e0254c7917 Add wp-admin/includes/ms-deprecated.php. Deprecate wpmu_checkAvailableSpace. Introduce is_upload_space_available(). see #11762
git-svn-id: https://develop.svn.wordpress.org/trunk@12824 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 19:46:24 +00:00
Ryan Boren
2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren
8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Andrew Ozz
276e9c3b09 Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
git-svn-id: https://develop.svn.wordpress.org/trunk@12582 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 08:19:34 +00:00
Matt Mullenweg
d94f8b9331 More cleanup of the edit media screen:
* Simplified table to not need rowspan, and other markup where possible.
* Put more elements in a paragraph tag for better spacing.
* Brought edit image buton under the image.
* Everything is now in line with WordPress Coding Standards, particularly with regards to spacing and attribute quotes.
* Minor styling for better alignment.

TODO: We show the file URL here, but for images we should show the URL to each size, with its dimensions.



git-svn-id: https://develop.svn.wordpress.org/trunk@12543 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 23:04:48 +00:00
Matt Mullenweg
8fa4b51cb6 Media editing: When you have many custom taxonomies this page can get rather long, or just normally, so adding a "save" button to the top as well, for easy access.
There was no place on this page that actually linked to the item being edited, so I hyperinked the thumbnail.


git-svn-id: https://develop.svn.wordpress.org/trunk@12542 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 22:22:21 +00:00
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
Andrew Ozz
08dd0b932e Trim white space
git-svn-id: https://develop.svn.wordpress.org/trunk@11463 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-26 22:42:23 +00:00
Andrew Ozz
2373c1c733 Fix the inserting of caption shortcode when the upload path contains "align"
git-svn-id: https://develop.svn.wordpress.org/trunk@11462 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-26 22:33:02 +00:00
Ryan Boren
e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Mark Jaquith
ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith
f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Andrew Ozz
6adf190b8f Update SWFUpload to 2.2.0.1, see #9413
git-svn-id: https://develop.svn.wordpress.org/trunk@11372 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-17 12:29:58 +00:00
Mark Jaquith
a2bf4db52b Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:40:56 +00:00
Ryan Boren
90ef467838 Revert line that breaks browser uploader
git-svn-id: https://develop.svn.wordpress.org/trunk@11244 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-08 20:45:04 +00:00
Andrew Ozz
76e525c50f Cast to string in array_key_exists() in media.php, props lusuonline, fixes #9749
git-svn-id: https://develop.svn.wordpress.org/trunk@11233 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 17:28:51 +00:00
Mark Jaquith
c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz
8788a2520e Add wpspin_light and wpspin_dark spinners
git-svn-id: https://develop.svn.wordpress.org/trunk@11203 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 18:57:43 +00:00
Ryan Boren
63e38ce6a2 Don't over sanitize uploaded file titles. Props hakre. fixes #9081
git-svn-id: https://develop.svn.wordpress.org/trunk@11198 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 05:57:56 +00:00
Andrew Ozz
3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren
4a047f4240 Use invisible class for hiding labels and legends.
git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 21:28:58 +00:00
Ryan Boren
cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Ryan Boren
1583662c19 Add labels to text inputs. see #9445
git-svn-id: https://develop.svn.wordpress.org/trunk@11152 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 21:52:34 +00:00
Andrew Ozz
aac1622495 Add wpspin.gif and replace all spinners
git-svn-id: https://develop.svn.wordpress.org/trunk@11150 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 19:43:22 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Andrew Ozz
6358bca7d2 Notice fixes, props sivel, see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11052 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 12:24:45 +00:00
Andrew Ozz
ad16220db1 Properly set the default tab in the uploader, props fuggi, fixes #7219
git-svn-id: https://develop.svn.wordpress.org/trunk@11051 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 11:10:15 +00:00
Ryan Boren
12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Andrew Ozz
9a62b02dfe CSS cleanup and fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@10943 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 04:41:05 +00:00
Andrew Ozz
ca129da990 Fix flash upload button, right sidebar on write pages in IE6
git-svn-id: https://develop.svn.wordpress.org/trunk@10865 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-04 10:21:43 +00:00
Andrew Ozz
cee4e8641c Make uploader selection "sticky"
git-svn-id: https://develop.svn.wordpress.org/trunk@10844 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 08:36:51 +00:00
Andrew Ozz
e57d0ac693 Add toggle all button to the Gallery tab in the uploader
git-svn-id: https://develop.svn.wordpress.org/trunk@10837 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 17:20:03 +00:00
Ryan Boren
8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Andrew Ozz
09961ff3ac Add sort order for the gallery in the uploader
git-svn-id: https://develop.svn.wordpress.org/trunk@10793 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 13:05:09 +00:00
Ryan Boren
5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Andrew Ozz
0e4478e6c7 Fix values for gallery sort order
git-svn-id: https://develop.svn.wordpress.org/trunk@10748 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 07:02:38 +00:00
Ryan Boren
d26e6fa963 Filter text to be sent to editor when used From URL. Props nbachiyski. fixes #6588
git-svn-id: https://develop.svn.wordpress.org/trunk@10710 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 22:54:10 +00:00
Ryan Boren
9cedbb7f24 Add filter on type_form_. Props nbachiyski. fixes #6585
git-svn-id: https://develop.svn.wordpress.org/trunk@10709 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 22:48:02 +00:00
Ryan Boren
e6f9b2ae63 Avoid double encoding of attachment descriptions. Props dwc. fixes #9168 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10700 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 19:37:33 +00:00
Andrew Ozz
37664340f5 Show file url after upload form media library, props yoavf, fixes #9267
git-svn-id: https://develop.svn.wordpress.org/trunk@10696 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 08:22:25 +00:00
Andrew Ozz
bf278c36bd Prevent the user from leaving the write/edit page when an upload button is clicked before the page has finished loading
git-svn-id: https://develop.svn.wordpress.org/trunk@10640 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 23:28:34 +00:00
Ryan Boren
854a8d6341 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10606 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:35:16 +00:00
Andrew Ozz
0a3b4246b7 When inserting orphaned attachment in a post, set post_parent only for this attachment, see #8721
git-svn-id: https://develop.svn.wordpress.org/trunk@10390 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-21 03:45:57 +00:00
Andrew Ozz
80fb5c79ce Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: https://develop.svn.wordpress.org/trunk@10348 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-12 13:43:17 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Andrew Ozz
d651a0c155 Do not show Gallery tab in the uploader if no files have been uploaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@10124 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-08 07:38:05 +00:00
Ryan Boren
f21e148b38 gettext image size names
git-svn-id: https://develop.svn.wordpress.org/trunk@10118 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 20:35:50 +00:00
Andrew Ozz
ca3acca0fb Attach orphan attachments when inserting into a post, fixes #8490
git-svn-id: https://develop.svn.wordpress.org/trunk@10062 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 06:21:42 +00:00
Andrew Ozz
b29461908c Change the uploader buttons label to Upload/Insert
git-svn-id: https://develop.svn.wordpress.org/trunk@9981 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-30 13:39:21 +00:00
Andrew Ozz
960a370431 Fix for flash uploader not displaying progress or completed uploads, props abackstrom, fixes #8372
git-svn-id: https://develop.svn.wordpress.org/trunk@9931 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 21:24:37 +00:00
Andrew Ozz
10f934c0f8 Several TinyMCE fixes and adjustments: Gecko spellchecker, Gallery options, single quote in image captions, see #8021
git-svn-id: https://develop.svn.wordpress.org/trunk@9917 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 11:30:51 +00:00
Andrew Ozz
bdb1810ef8 Pagination arrow replacement, fixes #8363
git-svn-id: https://develop.svn.wordpress.org/trunk@9914 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 00:28:24 +00:00
Andrew Ozz
ada30ad878 Fix labels in the uploader
git-svn-id: https://develop.svn.wordpress.org/trunk@9898 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 05:46:56 +00:00
Andrew Ozz
bcfde60872 Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
git-svn-id: https://develop.svn.wordpress.org/trunk@9894 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 02:27:37 +00:00
Ryan Boren
bbaa2ed570 Page link styling improvements. Props iammattthomas. fixes #8266
git-svn-id: https://develop.svn.wordpress.org/trunk@9746 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-18 00:59:57 +00:00
Andrew Ozz
57a1c6f31e CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9733 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 18:01:00 +00:00
Ryan Boren
fab4e5a68e Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 18:10:35 +00:00
Ryan Boren
2dc15c5a81 Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 23:01:16 +00:00
Andrew Ozz
f2af510550 Use local time when determining uploads directory, props DD32, see #8205
git-svn-id: https://develop.svn.wordpress.org/trunk@9676 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 03:56:09 +00:00
Andrew Ozz
04ce1eb950 Fix uploads sub-directory for drafts, props DD32, fixes #8205
git-svn-id: https://develop.svn.wordpress.org/trunk@9675 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 03:26:06 +00:00
Andrew Ozz
f587fabad8 Store uploads according to the parent post date when using year/month sub-directories
git-svn-id: https://develop.svn.wordpress.org/trunk@9663 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 18:22:00 +00:00
Andrew Ozz
054a6aa047 Keep state for image size, alignment and url in the uploader and for categories view on the write page, fixes #7520
git-svn-id: https://develop.svn.wordpress.org/trunk@9654 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 03:07:39 +00:00
Andrew Ozz
4ebfcd94a5 Menu updates: single top level menus, B&W/color icons (sprite), fix for the Firefox bug of not firing mouseout on absolute positioned elements over textareas/text fields, scaling down properly for different user roles, includes patch by Ryan, fixes #7966
git-svn-id: https://develop.svn.wordpress.org/trunk@9578 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-09 14:54:39 +00:00
Ryan Boren
c786488346 Make sure Upload button always shows. Props filosofo. see #6979
git-svn-id: https://develop.svn.wordpress.org/trunk@9465 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 17:20:55 +00:00
Ryan Boren
5038ab53db media-new visibility fix. Props filosoof. see #6979
git-svn-id: https://develop.svn.wordpress.org/trunk@9458 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 05:35:33 +00:00
Ryan Boren
e6ca3635da Flash degradation fixes from filsofo. see #6979
git-svn-id: https://develop.svn.wordpress.org/trunk@9438 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 18:24:55 +00:00
Ryan Boren
0bb2a02e73 SWFUpload 2.2.0 beta 2 with Flash 10 support. Props filosofo. see #6979
git-svn-id: https://develop.svn.wordpress.org/trunk@9423 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 01:53:39 +00:00
Andrew Ozz
70443d9dbb Write page styling
git-svn-id: https://develop.svn.wordpress.org/trunk@9384 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 10:59:26 +00:00
Andrew Ozz
0e845af695 New buttons and styling for all "management" pages
git-svn-id: https://develop.svn.wordpress.org/trunk@9328 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 18:25:46 +00:00
Andrew Ozz
9a8383e26f If no caption entered, use attachment title for alt text, props Viper007Bond, fixes #7675
git-svn-id: https://develop.svn.wordpress.org/trunk@9210 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 20:25:50 +00:00
Andrew Ozz
e769b6fabd Fix stripslashes for post metadata, phpDoc updates for media.php, props jacobsantos, fixes #7871
git-svn-id: https://develop.svn.wordpress.org/trunk@9129 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 02:48:45 +00:00
Ryan Boren
f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +00:00
Peter Westwood
7030f729e3 WP_DEBUG enabled notice fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@9014 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 22:00:52 +00:00
Andrew Ozz
d8c2d1347a Upload media from the Media Library page.
git-svn-id: https://develop.svn.wordpress.org/trunk@8998 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 08:17:55 +00:00
Ryan Boren
3f42c27f4b Press This updates from noel. see #7732
git-svn-id: https://develop.svn.wordpress.org/trunk@8959 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 22:04:10 +00:00
Andrew Ozz
97b4987f47 Fix IE HTML button value mishandling, fixes #6469 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8914 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-17 02:08:12 +00:00
Ryan Boren
3e43adeb6e phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@8912 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-17 00:40:10 +00:00
Mark Jaquith
ca3cd51f8e Put aria-required in the proper place, and use htmlspecialchars for sanitizing textarea output. Props Mike Schinkel
git-svn-id: https://develop.svn.wordpress.org/trunk@8853 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-09 19:08:22 +00:00
Peter Westwood
1a98aec97c Better admin search boxes.
git-svn-id: https://develop.svn.wordpress.org/trunk@8827 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 23:19:08 +00:00
Ryan Boren
f9443848a3 Fix Image alignment input value. Props MtDewVirus. fixes #7573
git-svn-id: https://develop.svn.wordpress.org/trunk@8714 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-22 20:50:54 +00:00
Ryan Boren
c1f57342f3 Don't default to an unselectable image size. Props tellyworth. fixes #7528 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8670 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 17:08:18 +00:00
Ryan Boren
e621a3239a Image default options for size, alignment and link type. Props tellyworth. fixes #7520
git-svn-id: https://develop.svn.wordpress.org/trunk@8653 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-15 15:40:35 +00:00
Ryan Boren
da4e0eca48 Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: https://develop.svn.wordpress.org/trunk@8612 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 03:54:26 +00:00
Andrew Ozz
fa3d304307 Strip slashes when inserting media into the editor. Fixes #7488 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8605 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-10 02:14:13 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Peter Westwood
010f5ed7b2 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:05:10 +00:00
Ryan Boren
5580e543f6 Typo fix from filosofo. fixes #7389 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8416 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 18:35:38 +00:00
Andrew Ozz
fe985f8b12 Fix invalid HTML and remove duplicate fields. Fixes #7293 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8361 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 22:09:27 +00:00
Andrew Ozz
491b47b300 Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8358 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 21:36:17 +00:00
Ryan Boren
2dd4d7031a Denote CAPTIONS_OFF as temporary. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8321 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-12 18:02:29 +00:00
Ryan Boren
afd113dcf2 Rename wp_caption shortcode to caption. Allow themes to disable captioning. Use dashes instead of underscores in class names. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8313 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 15:59:14 +00:00
Ryan Boren
b3a7cce6ed clean_url() for add_query_arg(). Props xnown. see #7281
git-svn-id: https://develop.svn.wordpress.org/trunk@8312 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 15:11:12 +00:00
Ryan Boren
60701401b3 Add flash uploader bypass toggle. Props tellyworth. fixes #7281
git-svn-id: https://develop.svn.wordpress.org/trunk@8310 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 01:45:41 +00:00
Ryan Boren
261e73a0ff Media Uploader improvements from azaozz: Improves the insert external image dialog, redirects to the gallery tab after "Save all changes" is clicked, shows the "Order" fields on the closed tabs, where they are easier to use, and only in the Gallery. see #7274
git-svn-id: https://develop.svn.wordpress.org/trunk@8304 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-10 03:49:52 +00:00
Ryan Boren
e97cb4f857 Excerpt long media titles. Props nbachiyski. fixes #7253
git-svn-id: https://develop.svn.wordpress.org/trunk@8265 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 21:15:38 +00:00
Ryan Boren
93240aef3b Add med buttons to TinyMCE fullscreen. Props azaozz. fixes #7232
git-svn-id: https://develop.svn.wordpress.org/trunk@8248 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 15:55:45 +00:00
Ryan Boren
410403c076 Unlink temporary file if sideload fails. see #7220
git-svn-id: https://develop.svn.wordpress.org/trunk@8241 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 22:56:57 +00:00
Ryan Boren
45ac770299 Image captions from azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8239 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 18:41:11 +00:00
Ryan Boren
db1134b9f1 Don't prepend http. Props noel. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8201 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 22:05:01 +00:00
Ryan Boren
3f0d3c8055 SSL fixes. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8190 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 22:19:27 +00:00
Ryan Boren
29dcc51d1f Insert image fixes from azaozz. fixes #7177
git-svn-id: https://develop.svn.wordpress.org/trunk@8189 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 21:59:06 +00:00
Ryan Boren
9a91dc90c6 Press This image linking fixes from noel. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8172 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 21:16:39 +00:00
Ryan Boren
df80e9fbc2 Press This updates from noel. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8169 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 16:00:12 +00:00
Ryan Boren
70d87d4c0d Press This improvements from noel. fixes #7117
git-svn-id: https://develop.svn.wordpress.org/trunk@8067 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-10 16:13:06 +00:00
Ryan Boren
3d6cc17ced Press This enhancement from noel. see #7066
git-svn-id: https://develop.svn.wordpress.org/trunk@8048 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 16:13:55 +00:00
Ryan Boren
00921720c2 Remove thickbox enqueueing. Props azaozz. fixes #7078
git-svn-id: https://develop.svn.wordpress.org/trunk@8038 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 15:39:20 +00:00
Ryan Boren
74226b61d4 Add some noncing. Props andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@8023 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-30 20:43:36 +00:00
Ryan Boren
f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren
8925593aea Few css fixes for the media uploader, confirm delete of attachments from the library tab. Props azaozz. fixes #7033
git-svn-id: https://develop.svn.wordpress.org/trunk@7988 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-24 17:03:51 +00:00
Ryan Boren
0198c04b6d wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:06:41 +00:00
Ryan Boren
3431e2820a Add sorting to gallery. Props AaronCampbell. fixes #6988
git-svn-id: https://develop.svn.wordpress.org/trunk@7974 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 18:29:46 +00:00
Ryan Boren
fa8adc72c6 Some URL cleaning
git-svn-id: https://develop.svn.wordpress.org/trunk@7962 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 18:01:43 +00:00
Ryan Boren
58a9595df2 Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
Ryan Boren
8c5f9e0c2a Some cleaning
git-svn-id: https://develop.svn.wordpress.org/trunk@7922 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-13 00:03:11 +00:00
Ryan Boren
0a7374085b Use array calling style. Props DD32. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@7894 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 16:03:27 +00:00
Peter Westwood
b80f64444a Add ARIA markup for required fields. Fixes #6914 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7888 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 21:28:12 +00:00
Peter Westwood
f70f8d56cc Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren
1bd67cf3b4 Fix send_to_editor escaping. Props Glotzfisch. fixes #6898 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7874 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-02 17:25:54 +00:00
Ryan Boren
70c2d40897 Refresh thickbox css. Props azaozz. fixes #6843 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7866 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-01 16:51:28 +00:00
Ryan Boren
2335a57b06 thickbox and media upload fixes from azaozz. fixes #6843
git-svn-id: https://develop.svn.wordpress.org/trunk@7862 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-30 20:21:09 +00:00
Mark Jaquith
0d83d084b9 fix typo in [7820] for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7825 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:40:12 +00:00
Mark Jaquith
08a1f47fcb attribute_escape() and int-casting paranoia for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7820 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:15:17 +00:00
Mark Jaquith
a409f97657 attribute_escape() type in the media-uploder. props Alex Concha. for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7818 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 05:55:01 +00:00
Ryan Boren
02b7abe6fa Legacy uploader fix from tellyworth. fixes #6629 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7707 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:03:44 +00:00
Ryan Boren
a58816e2ab Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: https://develop.svn.wordpress.org/trunk@7682 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 23:09:14 +00:00
Ryan Boren
2dc11fe349 Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7677 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:48:11 +00:00
Ryan Boren
55a14f52a9 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7671 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:07 +00:00
Ryan Boren
5af761df74 Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7655 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:38:25 +00:00
Ryan Boren
e203f8dad1 Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7654 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:33:37 +00:00
Ryan Boren
537500dadc Add some actions and filters to the media uploader. Props tellyworth. fixes #6658 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7652 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:32:04 +00:00
Ryan Boren
26b8bb3800 Fix image fetching in get_media_items(). Props tellyworth. fixes #6657 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7651 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:30:27 +00:00
Ryan Boren
95c1b352e1 upload_file_glob filter from tellyworth. fixes #6628 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7611 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:10:00 +00:00
Mark Jaquith
dcc47cfaaa Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7572 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 06:11:30 +00:00
Ryan Boren
7725f13a7d do not add rel if link is not get_attachment_link. Props andy. fixes #6428
git-svn-id: https://develop.svn.wordpress.org/trunk@7557 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 03:53:05 +00:00
Peter Westwood
ba75677939 Allow a plugin to force enable/disable the flash uploader. See #6406 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7550 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 17:37:37 +00:00
Ryan Boren
204899a05c Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
git-svn-id: https://develop.svn.wordpress.org/trunk@7535 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 21:26:28 +00:00
Ryan Boren
b3190f7164 Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
git-svn-id: https://develop.svn.wordpress.org/trunk@7534 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 21:22:19 +00:00
Mark Jaquith
f7c21d131d Use attachment title instead of filename, unless it is empty
git-svn-id: https://develop.svn.wordpress.org/trunk@7533 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 21:00:21 +00:00
Ryan Boren
ec33c42302 Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Mark Jaquith
1912193111 Check the Alignment: None box by default for media insertion. XHTML validation. see #6379
git-svn-id: https://develop.svn.wordpress.org/trunk@7510 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-25 07:33:57 +00:00
Ryan Boren
cf9618758d Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: https://develop.svn.wordpress.org/trunk@7496 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 02:57:19 +00:00
Ryan Boren
cbfb5d78b5 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 17:02:11 +00:00
Matt Mullenweg
df232a0133 Sometimes people have huge numbers of posts, let's always number_format them. Also, additional related link.
git-svn-id: https://develop.svn.wordpress.org/trunk@7485 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 07:10:17 +00:00
Matt Mullenweg
f0142f35b3 register_taxonomy seems crippled and useless, but let's try it anyway.
git-svn-id: https://develop.svn.wordpress.org/trunk@7475 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 17:40:28 +00:00
Ryan Boren
e2145503bf pretty delete animation, fix squashed icons and use 80x60 thumbs, add rel attrs to attachment links inserted from uploader. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7466 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 23:21:27 +00:00
Peter Westwood
9ed5a34a9b Translate WordPress. Fixes #6324.
git-svn-id: https://develop.svn.wordpress.org/trunk@7446 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 09:20:04 +00:00
Mark Jaquith
6046048fc3 better Apache mod detection from andy. fixes #6278
git-svn-id: https://develop.svn.wordpress.org/trunk@7441 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 04:10:01 +00:00
Ryan Boren
1b8ad770de Typo fix. see #6243
git-svn-id: https://develop.svn.wordpress.org/trunk@7407 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 00:34:41 +00:00
Ryan Boren
3e4d1197d5 Degrade flash upload if the server is lightttpd < 1.5. Props nbachyski. fixes #6243
git-svn-id: https://develop.svn.wordpress.org/trunk@7406 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 00:33:59 +00:00
Mark Jaquith
09e9e04f89 Make sure apache_getenv() exists before using it. fixes #6278
git-svn-id: https://develop.svn.wordpress.org/trunk@7401 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 18:18:59 +00:00
Ryan Boren
4dcc023818 ngettext fixes from nbachiyski. fixes #6261
git-svn-id: https://develop.svn.wordpress.org/trunk@7397 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 16:00:09 +00:00
Ryan Boren
1107f63d47 Disable flash uploader if mac and mod_security is enabled. Props andy. fixes #6278
git-svn-id: https://develop.svn.wordpress.org/trunk@7396 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 06:18:05 +00:00
Ryan Boren
000eee5dab Fix over-aggressive form validation. Props mdawaffe. fixes #6209
git-svn-id: https://develop.svn.wordpress.org/trunk@7384 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 19:20:18 +00:00
Ryan Boren
1b041b9bfd Make media button type default filter in Library browser. Props andy. fixes #6231
git-svn-id: https://develop.svn.wordpress.org/trunk@7349 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 20:09:55 +00:00
Ryan Boren
4982de5747 do not insert empty links; use the file basename if no title given. Props andy. fixes #6249
git-svn-id: https://develop.svn.wordpress.org/trunk@7348 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 20:08:43 +00:00
Ryan Boren
872d374ece Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: https://develop.svn.wordpress.org/trunk@7304 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 23:58:31 +00:00
Ryan Boren
e8efe189a0 Encode ampersands. Props Quandary. fixes #6212
git-svn-id: https://develop.svn.wordpress.org/trunk@7280 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 06:44:40 +00:00
Ryan Boren
df8228fa6c Attachment editing from mdawaffe. fixes #6181
git-svn-id: https://develop.svn.wordpress.org/trunk@7262 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 05:50:07 +00:00
Ryan Boren
928a671565 Color scheme selector fixes from andy. see #6167
git-svn-id: https://develop.svn.wordpress.org/trunk@7258 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 00:12:34 +00:00
Matt Mullenweg
a4c2e0dbf8 See #5911. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7228 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 01:30:15 +00:00
Matt Mullenweg
8d3812d14d More attachment thumbnail fixes, see #5911. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7218 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 23:04:20 +00:00
Matt Mullenweg
ad85a75542 Invisible ink delete links. See #5911. Also some old school colors, half-way done.
git-svn-id: https://develop.svn.wordpress.org/trunk@7213 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 21:49:08 +00:00
Peter Westwood
701405014d Use the new colours stylesheet for the media library. See #5911 props andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7185 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-07 22:40:08 +00:00
Ryan Boren
02facfc3e4 fix missing thumbnail radio button for inserting into post. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7177 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 23:40:21 +00:00
Ryan Boren
7d6440bba2 Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7172 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 19:48:54 +00:00
Matt Mullenweg
26a14e222b Fix some names and order of filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@7170 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 10:23:00 +00:00
Ryan Boren
dc3a3d242c Improve upload_max_filesize error. Improve error display for long messages. New uploads now added to bottom, not top. Fix align class. Remove redundant header text. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7160 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-05 06:46:42 +00:00
Matt Mullenweg
462e3bd95f Table styling and "add media" label. See #5911. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7151 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:28:23 +00:00
Matt Mullenweg
88bb527a19 Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7135 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 04:17:37 +00:00
Ryan Boren
6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren
ee92d30574 Fix passed by reference errors. Props DD32. fixes #6056
git-svn-id: https://develop.svn.wordpress.org/trunk@7124 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-01 20:41:18 +00:00
Ryan Boren
4ec016565a Remove empty gettext call. Props andy. fixes #6044
git-svn-id: https://develop.svn.wordpress.org/trunk@7105 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 17:15:34 +00:00
Ryan Boren
b2e8a6ac54 Media library updates from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7092 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 21:29:51 +00:00
Ryan Boren
e93de99379 remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7067 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 19:36:02 +00:00
Ryan Boren
34099bccd7 Add media library uploader tab. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7062 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 08:31:10 +00:00