Commit Graph

314 Commits

Author SHA1 Message Date
azaozz
fb1bb44d60 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: http://svn.automattic.com/wordpress/trunk@12162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 10:38:19 +00:00
azaozz
1c24715413 Don't pre-fill empty image alt when inserting into a post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 00:09:40 +00:00
ryan
41823a3171 Call get_post_image_id() only if current_theme_supports( 'post-thumbnails' ).
git-svn-id: http://svn.automattic.com/wordpress/trunk@12137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 18:00:41 +00:00
azaozz
a55fd568d4 Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 07:09:55 +00:00
markjaquith
34f36995f2 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: http://svn.automattic.com/wordpress/trunk@12110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 17:56:28 +00:00
azaozz
f5c253376e 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: http://svn.automattic.com/wordpress/trunk@12098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-24 11:43:42 +00:00
markjaquith
0bb1056228 Save some clicks and optimize for the Upload, Set as thumbnail flow. props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-21 07:27:33 +00:00
azaozz
76f6b9706e Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 20:23:35 +00:00
markjaquith
d3f3b6bed1 Only show Use for thumbnail link for image attachments. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 16:36:21 +00:00
azaozz
7e9d95d543 Separate fields for image alt and image caption in the uploader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 05:09:41 +00:00
azaozz
9783a2415a Properly escape filename when sending to editor, props hakre sivel, fixes #10252
git-svn-id: http://svn.automattic.com/wordpress/trunk@12051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 06:14:16 +00:00
markjaquith
af407e7e3f Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:57:16 +00:00
markjaquith
a0cd792aae Constrain admin thumbnail display to width of meta box while in sidebar. Add filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 07:41:42 +00:00
markjaquith
d7a30e235f First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
ryan
d89bf58bd3 Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866
git-svn-id: http://svn.automattic.com/wordpress/trunk@11989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:50:28 +00:00
azaozz
48932f96fe Image Editor improvements, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 01:54:07 +00:00
ryan
607ec769f0 Press This fixes. Props noel. fixes #10784
git-svn-id: http://svn.automattic.com/wordpress/trunk@11944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:36:59 +00:00
azaozz
1c161c23c2 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
ryan
e8c32c03b0 Pass logged_in cookie to async-upload. Props nbachiyski. fixes #10739
git-svn-id: http://svn.automattic.com/wordpress/trunk@11904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 15:22:42 +00:00
westi
499a4d63cc Always filter the url in the media upload form. Fixes #10707 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 20:44:17 +00:00
azaozz
a50bce6e70 Add global JS vars and actions to the media uploader iframe
git-svn-id: http://svn.automattic.com/wordpress/trunk@11868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 00:09:39 +00:00
azaozz
be026258fa "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
westi
a809b6a57f Fix typo in type_url_from_video() link text description. Fixes #10071 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-09 21:21:57 +00:00
ryan
2f090d1e30 Don't lose upload error messages. Props filosofo. fixes #10238 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-25 06:09:22 +00:00
westi
897f52c524 Remove the cruft. Fixes #10227 for trunk props sirzooro.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 18:50:31 +00:00
azaozz
6615e5390c Fix the flash uploader button font, props demetris, fixes #10113 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-13 09:37:19 +00:00
westi
0de9090898 Ensure the errors array is always defined so as to always have something to return
git-svn-id: http://svn.automattic.com/wordpress/trunk@11492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-30 09:55:32 +00:00
azaozz
0fc93e28fd Trim white space
git-svn-id: http://svn.automattic.com/wordpress/trunk@11463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 22:42:23 +00:00
azaozz
51e5201348 Fix the inserting of caption shortcode when the upload path contains "align"
git-svn-id: http://svn.automattic.com/wordpress/trunk@11462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 22:33:02 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
azaozz
697923e9f0 Update SWFUpload to 2.2.0.1, see #9413
git-svn-id: http://svn.automattic.com/wordpress/trunk@11372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-17 12:29:58 +00:00
markjaquith
bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
ryan
e8025581b3 Revert line that breaks browser uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@11244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-08 20:45:04 +00:00
azaozz
a1bb97313f Cast to string in array_key_exists() in media.php, props lusuonline, fixes #9749
git-svn-id: http://svn.automattic.com/wordpress/trunk@11233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 17:28:51 +00:00
markjaquith
6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz
12924135ce Add wpspin_light and wpspin_dark spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 18:57:43 +00:00
ryan
8d6ec42ce1 Don't over sanitize uploaded file titles. Props hakre. fixes #9081
git-svn-id: http://svn.automattic.com/wordpress/trunk@11198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 05:57:56 +00:00
azaozz
83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan
808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
ryan
12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
ryan
ef0b1dc621 Add labels to text inputs. see #9445
git-svn-id: http://svn.automattic.com/wordpress/trunk@11152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 21:52:34 +00:00
azaozz
d409315d8c Add wpspin.gif and replace all spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 19:43:22 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
azaozz
a12587214f Notice fixes, props sivel, see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@11052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 12:24:45 +00:00
azaozz
a87fce21b6 Properly set the default tab in the uploader, props fuggi, fixes #7219
git-svn-id: http://svn.automattic.com/wordpress/trunk@11051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 11:10:15 +00:00
ryan
a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
azaozz
29f9a48eaa CSS cleanup and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 04:41:05 +00:00
azaozz
8c7f6cb6ee Fix flash upload button, right sidebar on write pages in IE6
git-svn-id: http://svn.automattic.com/wordpress/trunk@10865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 10:21:43 +00:00
azaozz
d2f10cfa07 Make uploader selection "sticky"
git-svn-id: http://svn.automattic.com/wordpress/trunk@10844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 08:36:51 +00:00
azaozz
05783317a4 Add toggle all button to the Gallery tab in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 17:20:03 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
azaozz
9f9fcdfa9d Add sort order for the gallery in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 13:05:09 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
azaozz
0acdb66f83 Fix values for gallery sort order
git-svn-id: http://svn.automattic.com/wordpress/trunk@10748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 07:02:38 +00:00
ryan
f8ada7a44a Filter text to be sent to editor when used From URL. Props nbachiyski. fixes #6588
git-svn-id: http://svn.automattic.com/wordpress/trunk@10710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:54:10 +00:00
ryan
b6f5ddf7f0 Add filter on type_form_. Props nbachiyski. fixes #6585
git-svn-id: http://svn.automattic.com/wordpress/trunk@10709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:48:02 +00:00
ryan
12bd1a3053 Avoid double encoding of attachment descriptions. Props dwc. fixes #9168 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:37:33 +00:00
azaozz
65e0cea07b Show file url after upload form media library, props yoavf, fixes #9267
git-svn-id: http://svn.automattic.com/wordpress/trunk@10696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 08:22:25 +00:00
azaozz
4db5cef310 Prevent the user from leaving the write/edit page when an upload button is clicked before the page has finished loading
git-svn-id: http://svn.automattic.com/wordpress/trunk@10640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 23:28:34 +00:00
ryan
fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
azaozz
e9636d400c When inserting orphaned attachment in a post, set post_parent only for this attachment, see #8721
git-svn-id: http://svn.automattic.com/wordpress/trunk@10390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 03:45:57 +00:00
azaozz
1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
azaozz
5426f43c7d Do not show Gallery tab in the uploader if no files have been uploaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 07:38:05 +00:00
ryan
3b5ef2f644 gettext image size names
git-svn-id: http://svn.automattic.com/wordpress/trunk@10118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 20:35:50 +00:00
azaozz
bdb5cde322 Attach orphan attachments when inserting into a post, fixes #8490
git-svn-id: http://svn.automattic.com/wordpress/trunk@10062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 06:21:42 +00:00
azaozz
b77870d065 Change the uploader buttons label to Upload/Insert
git-svn-id: http://svn.automattic.com/wordpress/trunk@9981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 13:39:21 +00:00
azaozz
ea82341662 Fix for flash uploader not displaying progress or completed uploads, props abackstrom, fixes #8372
git-svn-id: http://svn.automattic.com/wordpress/trunk@9931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:24:37 +00:00
azaozz
d301ed68fd Several TinyMCE fixes and adjustments: Gecko spellchecker, Gallery options, single quote in image captions, see #8021
git-svn-id: http://svn.automattic.com/wordpress/trunk@9917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 11:30:51 +00:00
azaozz
f36c6cf666 Pagination arrow replacement, fixes #8363
git-svn-id: http://svn.automattic.com/wordpress/trunk@9914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 00:28:24 +00:00
azaozz
a5aa1f2ad6 Fix labels in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@9898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 05:46:56 +00:00
azaozz
ddead422a1 Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
git-svn-id: http://svn.automattic.com/wordpress/trunk@9894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 02:27:37 +00:00
ryan
cf333304bb Page link styling improvements. Props iammattthomas. fixes #8266
git-svn-id: http://svn.automattic.com/wordpress/trunk@9746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 00:59:57 +00:00
azaozz
a4da82e877 CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:01:00 +00:00
ryan
40c754df1d Unused var fixes. Props DD32. see #8220
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00
ryan
9861eb1a85 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:01:16 +00:00
azaozz
dd330c0ba9 Use local time when determining uploads directory, props DD32, see #8205
git-svn-id: http://svn.automattic.com/wordpress/trunk@9676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 03:56:09 +00:00
azaozz
d87ff92c67 Fix uploads sub-directory for drafts, props DD32, fixes #8205
git-svn-id: http://svn.automattic.com/wordpress/trunk@9675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 03:26:06 +00:00
azaozz
bd2112f197 Store uploads according to the parent post date when using year/month sub-directories
git-svn-id: http://svn.automattic.com/wordpress/trunk@9663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 18:22:00 +00:00
azaozz
f4d7858bbd Keep state for image size, alignment and url in the uploader and for categories view on the write page, fixes #7520
git-svn-id: http://svn.automattic.com/wordpress/trunk@9654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 03:07:39 +00:00
azaozz
6b99a452d1 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: http://svn.automattic.com/wordpress/trunk@9578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 14:54:39 +00:00
ryan
76a5770cc0 Make sure Upload button always shows. Props filosofo. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 17:20:55 +00:00
ryan
3021fcc185 media-new visibility fix. Props filosoof. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 05:35:33 +00:00
ryan
f96695270f Flash degradation fixes from filsofo. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:24:55 +00:00
ryan
22740d5394 SWFUpload 2.2.0 beta 2 with Flash 10 support. Props filosofo. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 01:53:39 +00:00
azaozz
da113155e8 Write page styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 10:59:26 +00:00
azaozz
ee9c9b86cf New buttons and styling for all "management" pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 18:25:46 +00:00
azaozz
57fb217b3f If no caption entered, use attachment title for alt text, props Viper007Bond, fixes #7675
git-svn-id: http://svn.automattic.com/wordpress/trunk@9210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:25:50 +00:00
azaozz
14954d7fca Fix stripslashes for post metadata, phpDoc updates for media.php, props jacobsantos, fixes #7871
git-svn-id: http://svn.automattic.com/wordpress/trunk@9129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 02:48:45 +00:00
ryan
5fd146865b phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:03:26 +00:00
westi
33ad03831d WP_DEBUG enabled notice fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 22:00:52 +00:00
azaozz
a6f7c12d48 Upload media from the Media Library page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 08:17:55 +00:00
ryan
f528acb8df Press This updates from noel. see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 22:04:10 +00:00
azaozz
5869e6bf8d Fix IE HTML button value mishandling, fixes #6469 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 02:08:12 +00:00
ryan
e3f6b2b271 phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@8912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:40:10 +00:00
markjaquith
9fcac7ad2d Put aria-required in the proper place, and use htmlspecialchars for sanitizing textarea output. Props Mike Schinkel
git-svn-id: http://svn.automattic.com/wordpress/trunk@8853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-09 19:08:22 +00:00
westi
475c4eecaa Better admin search boxes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 23:19:08 +00:00
ryan
9bd5723c66 Fix Image alignment input value. Props MtDewVirus. fixes #7573
git-svn-id: http://svn.automattic.com/wordpress/trunk@8714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 20:50:54 +00:00
ryan
4104795d70 Don't default to an unselectable image size. Props tellyworth. fixes #7528 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 17:08:18 +00:00
ryan
2955c83e99 Image default options for size, alignment and link type. Props tellyworth. fixes #7520
git-svn-id: http://svn.automattic.com/wordpress/trunk@8653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-15 15:40:35 +00:00
ryan
ff7b8ffe1b Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: http://svn.automattic.com/wordpress/trunk@8612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 03:54:26 +00:00
azaozz
879524a2dd Strip slashes when inserting media into the editor. Fixes #7488 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 02:14:13 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
westi
b3cb14fb80 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:05:10 +00:00
ryan
5c56c7fd2e Typo fix from filosofo. fixes #7389 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 18:35:38 +00:00
azaozz
7b0371676d Fix invalid HTML and remove duplicate fields. Fixes #7293 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 22:09:27 +00:00
azaozz
99fd979933 Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 21:36:17 +00:00
ryan
01cf8b5371 Denote CAPTIONS_OFF as temporary. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-12 18:02:29 +00:00
ryan
752b0eb45b 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: http://svn.automattic.com/wordpress/trunk@8313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 15:59:14 +00:00
ryan
35e593c3ab clean_url() for add_query_arg(). Props xnown. see #7281
git-svn-id: http://svn.automattic.com/wordpress/trunk@8312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 15:11:12 +00:00
ryan
f9f960b1d0 Add flash uploader bypass toggle. Props tellyworth. fixes #7281
git-svn-id: http://svn.automattic.com/wordpress/trunk@8310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 01:45:41 +00:00
ryan
642bd53a67 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: http://svn.automattic.com/wordpress/trunk@8304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-10 03:49:52 +00:00
ryan
79913b557b Excerpt long media titles. Props nbachiyski. fixes #7253
git-svn-id: http://svn.automattic.com/wordpress/trunk@8265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-06 21:15:38 +00:00
ryan
48f963e437 Add med buttons to TinyMCE fullscreen. Props azaozz. fixes #7232
git-svn-id: http://svn.automattic.com/wordpress/trunk@8248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 15:55:45 +00:00
ryan
3497e63495 Unlink temporary file if sideload fails. see #7220
git-svn-id: http://svn.automattic.com/wordpress/trunk@8241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 22:56:57 +00:00
ryan
88ca7797d1 Image captions from azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 18:41:11 +00:00
ryan
1fa06da55c Don't prepend http. Props noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 22:05:01 +00:00
ryan
636c562256 SSL fixes. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 22:19:27 +00:00
ryan
cdaefc84b8 Insert image fixes from azaozz. fixes #7177
git-svn-id: http://svn.automattic.com/wordpress/trunk@8189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 21:59:06 +00:00
ryan
cdc53fcb86 Press This image linking fixes from noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 21:16:39 +00:00
ryan
9198dc7dbc Press This updates from noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 16:00:12 +00:00
ryan
7939970055 Press This improvements from noel. fixes #7117
git-svn-id: http://svn.automattic.com/wordpress/trunk@8067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-10 16:13:06 +00:00
ryan
6aaddbee0a Press This enhancement from noel. see #7066
git-svn-id: http://svn.automattic.com/wordpress/trunk@8048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 16:13:55 +00:00
ryan
f67c15ad9c Remove thickbox enqueueing. Props azaozz. fixes #7078
git-svn-id: http://svn.automattic.com/wordpress/trunk@8038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-03 15:39:20 +00:00
ryan
5ad5715af7 Add some noncing. Props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-30 20:43:36 +00:00
ryan
9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +00:00
ryan
b70d3b2028 Few css fixes for the media uploader, confirm delete of attachments from the library tab. Props azaozz. fixes #7033
git-svn-id: http://svn.automattic.com/wordpress/trunk@7988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-24 17:03:51 +00:00
ryan
68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +00:00
ryan
8f2a589e21 Add sorting to gallery. Props AaronCampbell. fixes #6988
git-svn-id: http://svn.automattic.com/wordpress/trunk@7974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 18:29:46 +00:00
ryan
74f878d040 Some URL cleaning
git-svn-id: http://svn.automattic.com/wordpress/trunk@7962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 18:01:43 +00:00
ryan
bc07ef1efe Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: http://svn.automattic.com/wordpress/trunk@7961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 17:19:33 +00:00
ryan
e44fe50107 Some cleaning
git-svn-id: http://svn.automattic.com/wordpress/trunk@7922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 00:03:11 +00:00
ryan
a3bc5f60da Use array calling style. Props DD32. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 16:03:27 +00:00
westi
7759f1672f Add ARIA markup for required fields. Fixes #6914 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:28:12 +00:00
westi
3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan
b9e595d3a5 Fix send_to_editor escaping. Props Glotzfisch. fixes #6898 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 17:25:54 +00:00
ryan
43fc7beb08 Refresh thickbox css. Props azaozz. fixes #6843 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 16:51:28 +00:00
ryan
020eb02ef0 thickbox and media upload fixes from azaozz. fixes #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:21:09 +00:00
markjaquith
4b2959f55b fix typo in [7820] for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 06:40:12 +00:00
markjaquith
08f237c227 attribute_escape() and int-casting paranoia for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 06:15:17 +00:00
markjaquith
6d0ac532e3 attribute_escape() type in the media-uploder. props Alex Concha. for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 05:55:01 +00:00
ryan
a5f480ebec Legacy uploader fix from tellyworth. fixes #6629 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:03:44 +00:00
ryan
cab4206406 Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: http://svn.automattic.com/wordpress/trunk@7682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 23:09:14 +00:00
ryan
b97e7fa82b Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:48:11 +00:00
ryan
02e0c889f7 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:47:07 +00:00
ryan
ab7af57751 Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:38:25 +00:00
ryan
1d67896b70 Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:33:37 +00:00