Commit Graph

300 Commits

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