Commit Graph

194 Commits

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