Commit Graph

450 Commits

Author SHA1 Message Date
ryan
3f72e340d6 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
nacin
69b3167678 Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:26 +00:00
ryan
07d265659b get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
git-svn-id: http://svn.automattic.com/wordpress/trunk@16476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 00:04:04 +00:00
nacin
931cecae63 Include a single-column option in gallery settings. props husobj, fixes #14836.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:30:55 +00:00
ryan
847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
markjaquith
6482610f9a esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:12:01 +00:00
scribu
2dcfb8a55f Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
git-svn-id: http://svn.automattic.com/wordpress/trunk@16383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 12:53:11 +00:00
nacin
81a8f2d3ce Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
nacin
fa3c017451 Use spaces for alignment. see #15343 [16236]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:42:35 +00:00
westi
136df0f262 Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:15:14 +00:00
nbachiyski
9f5c506a9f Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
 * translate_nooped_plural() takes one such associative array and translates it
 * it works on both the result from _n_noop() and from _nx_noop()
 * this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
 * translate_nooped_plural() is applied where applicable


git-svn-id: http://svn.automattic.com/wordpress/trunk@16073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 13:12:14 +00:00
markjaquith
fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
ryan
2b86361848 Don't show private attachment taxonomies in the uploader. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 18:53:09 +00:00
westi
39fceab5b4 Add a filter to the mime type list displayed in the iframe media uploader when viewing the media library. Fixes #6348 props wojtek.szkutnik
git-svn-id: http://svn.automattic.com/wordpress/trunk@16047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:41:37 +00:00
ryan
779b8ff334 Default send to editor to true if the post parent is empty. Props blepoxp. fixes #14133
git-svn-id: http://svn.automattic.com/wordpress/trunk@15920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 20:17:17 +00:00
nacin
54c498f974 Remove Lucida Grande from the sans serif font stack. fixes #8352, props iammattthomas.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 10:30:28 +00:00
nacin
4e666d5d44 Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-03 02:58:59 +00:00
nacin
5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
dd32
fe89d62154 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-20 04:13:57 +00:00
markjaquith
100e81c448 Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 06:33:46 +00:00
nbachiyski
8545387795 Prevent a notice if $_REQUEST['post_id'] is missing. Just use 0 in this case, which will be the same as using intval on an undefined value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:42:46 +00:00
nacin
8845d1f61f Hide Flash uploader and theme/plugin editor documentation feature, if no JS. Also some validation fixes in the theme editor. props ocean90. see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:57:55 +00:00
markjaquith
e3ffb4c442 Update upload quota filled message to mention the limit and not suggest file deletion. fixes #13479
git-svn-id: http://svn.automattic.com/wordpress/trunk@14897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 17:53:31 +00:00
nacin
427a63a92a s/onclick/onClick/. props Gazzer from wp-testers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 05:15:55 +00:00
dd32
da25731eae We're not as bold as some people make us out to be. Move the maximum upload size from a Heading to a paragraph text. Fix screen formatting on Multisite when over quota. see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 12:57:49 +00:00
markjaquith
20cb3ed21b Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:08:49 +00:00
wpmuguru
80a8899c0b boldly go where no man has gone before, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 18:44:51 +00:00
wpmuguru
be5268eefc show upload limit in media upload UI, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 23:57:32 +00:00
nacin
54a46870d3 Escape slash in inline JS for SWFUploader. props zeo, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 06:14:06 +00:00
nacin
c6d21e7fbb Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 21:46:25 +00:00
nacin
518b19a404 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:03:59 +00:00
nacin
7bd274899d Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:54:21 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
dd32
18a81ac245 Use the correct field when determining if the parent can support the Post Editor. See #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:09:45 +00:00
nacin
9b76fb2563 More tweaks for thumbnail support when no editor support for custom post types. see #12792, props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 21:45:16 +00:00
nacin
0de035558e Fix notice in get_media_items().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:49:58 +00:00
markjaquith
07a523894a Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:47 +00:00
dd32
ee058cca62 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: http://svn.automattic.com/wordpress/trunk@13940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:12:49 +00:00
dd32
949d9a0362 Do not add rel="attachment" for direct(File URL, not Post URL) links to non-media files in "Insert into Post". Fixes #7040
git-svn-id: http://svn.automattic.com/wordpress/trunk@13875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 09:57:34 +00:00
nacin
8c8bf5039f Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
nacin
20eae9d24a Use disabled() form helper. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:12:23 +00:00
nacin
d6c51469c2 s/onClick/onclick/. props TobiasBg, see #12429
git-svn-id: http://svn.automattic.com/wordpress/trunk@13612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 20:06:32 +00:00
dd32
9e31757e40 Display an Attachment Icon if an Attachment thumbnail is not available. Fixes display of Upload edit fields. Fixes #12328
git-svn-id: http://svn.automattic.com/wordpress/trunk@13600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 08:00:42 +00:00
dd32
0c2e896156 A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
git-svn-id: http://svn.automattic.com/wordpress/trunk@13528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 11:57:03 +00:00
nacin
093beae9f1 s/onClick/onclick/. props TobiasBg fixes #12429
git-svn-id: http://svn.automattic.com/wordpress/trunk@13510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 19:39:06 +00:00
ryan
a55b30dcaf Pass overrides. Allow ref array calling. Props tychay. fixes #12278
git-svn-id: http://svn.automattic.com/wordpress/trunk@13290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 16:54:51 +00:00
dd32
8e74ffb282 Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
git-svn-id: http://svn.automattic.com/wordpress/trunk@13283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 11:21:32 +00:00
nacin
00706d68ce Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: http://svn.automattic.com/wordpress/trunk@13256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:09:49 +00:00
nacin
f58329a718 Improved IPTC and EXIF handling. Drag a wider net and also try to avoid numeric attachment slugs where possible. Props miqrogroove. See #11417
git-svn-id: http://svn.automattic.com/wordpress/trunk@13244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 09:17:34 +00:00
nacin
d93a202841 Allow class/method array pair in wp_iframe() when checking callback name in determining whether to include media stylessheet. Props technosailor, fixes #11976
git-svn-id: http://svn.automattic.com/wordpress/trunk@13243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 08:19:44 +00:00
dd32
679250491d Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 02:01:46 +00:00
nacin
cfa428b8d2 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: http://svn.automattic.com/wordpress/trunk@13132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:27:19 +00:00
nacin
b4f362264e Don't use deprecated functions. see #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 10:35:10 +00:00
markjaquith
ec16dee2f3 Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 07:31:38 +00:00
ryan
a7e2f2533b Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: http://svn.automattic.com/wordpress/trunk@12972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 17:59:18 +00:00
ryan
79007568a6 Merge mu_media_buttons() into media_buttons(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:28:52 +00:00
ryan
f3939dd8fd Add wp-admin/includes/ms-deprecated.php. Deprecate wpmu_checkAvailableSpace. Introduce is_upload_space_available(). see #11762
git-svn-id: http://svn.automattic.com/wordpress/trunk@12824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 19:46:24 +00:00
ryan
94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan
6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
azaozz
3f3846e2fc Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
git-svn-id: http://svn.automattic.com/wordpress/trunk@12582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 08:19:34 +00:00
matt
1e15d7c64a More cleanup of the edit media screen:
* Simplified table to not need rowspan, and other markup where possible.
* Put more elements in a paragraph tag for better spacing.
* Brought edit image buton under the image.
* Everything is now in line with WordPress Coding Standards, particularly with regards to spacing and attribute quotes.
* Minor styling for better alignment.

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



git-svn-id: http://svn.automattic.com/wordpress/trunk@12543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 23:04:48 +00:00
matt
6f824a6b3e Media editing: When you have many custom taxonomies this page can get rather long, or just normally, so adding a "save" button to the top as well, for easy access.
There was no place on this page that actually linked to the item being edited, so I hyperinked the thumbnail.


git-svn-id: http://svn.automattic.com/wordpress/trunk@12542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 22:22:21 +00:00
azaozz
066f37c885 Display "Dimensions" only for image attachments, fixes #11403
git-svn-id: http://svn.automattic.com/wordpress/trunk@12378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 07:02:26 +00:00
azaozz
d4d309a1c6 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: http://svn.automattic.com/wordpress/trunk@12377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 06:40:16 +00:00
markjaquith
805bdb9365 Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
git-svn-id: http://svn.automattic.com/wordpress/trunk@12355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:03:26 +00:00
markjaquith
8a3607998c Do not show "Use as thumbnail" in standalone media browser, but DO show it when you upload a new image on a post. fixes #11366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 07:04:01 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
ryan
1c90385918 Allow registering post image support per post type. fixes #11364
git-svn-id: http://svn.automattic.com/wordpress/trunk@12350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 15:39:20 +00:00
markjaquith
df73d335a9 Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:27:53 +00:00
markjaquith
0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
ryan
e5d2d65a36 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: http://svn.automattic.com/wordpress/trunk@12308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 20:00:33 +00:00
azaozz
fded0ca661 Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: http://svn.automattic.com/wordpress/trunk@12304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 09:22:48 +00:00
azaozz
8f3af1eb02 Hide Cancel link in the browser uploader on Media Library screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 20:58:12 +00:00
ryan
0874bf7d4f escape hrefs. Props Denis-de-Bernardy. fixes #10056
git-svn-id: http://svn.automattic.com/wordpress/trunk@12295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 16:55:50 +00:00
azaozz
00a9b90dc9 Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 02:56:15 +00:00
azaozz
281f46ecbd Fix typo, props nacin, fixes #8557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 08:13:31 +00:00
ryan
6d1ba22c9d Fix warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@12246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 19:46:10 +00:00
ryan
3e17d8b880 Remove reference to non-existent field. Props scribu. fixes #11098
git-svn-id: http://svn.automattic.com/wordpress/trunk@12242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 15:26:14 +00:00
azaozz
c8dd53cdc3 Submit the "Save all changes" form by pressing Enter, props abackstrom, fixes #8557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 06:07:54 +00:00
ryan
c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
azaozz
95ee97e9ad Add labels to image info in the media library, fixes #8886
git-svn-id: http://svn.automattic.com/wordpress/trunk@12195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 00:11:49 +00:00
azaozz
f53bef8bd9 Don't show trashed attachments in gallery tab count, props aldenta, fixes #11147
git-svn-id: http://svn.automattic.com/wordpress/trunk@12190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:54:02 +00:00
azaozz
903ff7a22f Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@12189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:16:34 +00:00
azaozz
573c9fe1e4 Fix improper selection of radio buttons, improve JS for storing image settings, fixes #11021
git-svn-id: http://svn.automattic.com/wordpress/trunk@12188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 01:37:30 +00:00
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