Commit Graph

324 Commits

Author SHA1 Message Date
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