azaozz
f634dd5af4
Editor API enhancement, first run (still needs some work), see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
azaozz
07bf8b352e
Remove tabs from JS, props duck_, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 08:44:29 +00:00
azaozz
34467767ff
Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 19:21:21 +00:00
azaozz
c5657820fb
Remove debug bits, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 09:03:24 +00:00
azaozz
91a8720fff
Pluploader take 1, props jacobwg, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 08:59:35 +00:00
azaozz
5256d7951f
<!DOCTYPE html> for all, fixes #18202
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
ryan
db253a3fe7
Perform a cap check on attachments in media_upload_form_handler(). For trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:44:56 +00:00
ryan
593659b8d0
Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:56:42 +00:00
dd32
ed5785c9ef
Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 12:47:18 +00:00
ryan
81a5f821fb
Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
azaozz
33b0327924
Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 16:12:13 +00:00
nacin
16e649f95f
Remove type attribute from textarea. props solarissmoke.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 08:30:08 +00:00
ryan
924f783fda
Add some nonce checks to the uploaders. Props duck_. For trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:30:59 +00:00
ryan
498c93cb81
Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
ryan
55d6d8af12
PHP4 compat. Props SergeyBiryukov, westi. see #16080
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:19:34 +00:00
nacin
9009245db5
Tag textareas escaped earlier with textarea_escaped. see #15454 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 17:58:01 +00:00
westi
56584f6801
Ensure that images added using Press This get the correct source url set. Fixes #15841 props duck_.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 15:41:05 +00:00
nacin
e1eec3925a
More @since. props SergeyBiryukov, fixes #15445 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:25:21 +00:00
ryan
3a66c698ee
Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 17:48:20 +00:00
ryan
3949ce12d0
Pink trailing whites.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
nacin
20bbf977a2
Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 19:42:57 +00:00
nacin
fed2907095
Fix notice. props vericgar, fixes #11976 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 03:01:42 +00:00
scribu
c45f3936a7
More s/upgrade/update. Props michaelh. See #15656
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 09:16:28 +00:00
nacin
85c0930679
define isRtl in the media upload iframe. props filosofo, fixes #15639 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 12:44:48 +00:00
markjaquith
5f15bf9db2
Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:41:47 +00:00
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
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
ryan
b83563f368
Add some actions and filters to the media uploader. Props tellyworth. fixes #6658 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:32:04 +00:00
ryan
030a8b9b33
Fix image fetching in get_media_items(). Props tellyworth. fixes #6657 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:30:27 +00:00
ryan
aad4350fb1
upload_file_glob filter from tellyworth. fixes #6628 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 17:10:00 +00:00
markjaquith
9eeb25a302
Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 06:11:30 +00:00
ryan
acb9f8f738
do not add rel if link is not get_attachment_link. Props andy. fixes #6428
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 03:53:05 +00:00
westi
a0706cbb8a
Allow a plugin to force enable/disable the flash uploader. See #6406 props DD32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 17:37:37 +00:00
ryan
fccd2c132e
Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:26:28 +00:00
ryan
d9e10dd831
Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:22:19 +00:00
markjaquith
feece21b1f
Use attachment title instead of filename, unless it is empty
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:00:21 +00:00
ryan
e1b1845154
Taxonomy links and template tags from andy. see #6357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:37:19 +00:00
markjaquith
6054151013
Check the Alignment: None box by default for media insertion. XHTML validation. see #6379
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 07:33:57 +00:00
ryan
193b20c03f
Gallery display enhancements from tellyworth. fixes #6368
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 02:57:19 +00:00
ryan
cce67416a3
Taxonomy queries and urls. Props andy. see #6357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 17:02:11 +00:00
matt
7d7a28c515
Sometimes people have huge numbers of posts, let's always number_format them. Also, additional related link.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 07:10:17 +00:00
matt
b814963de2
register_taxonomy seems crippled and useless, but let's try it anyway.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 17:40:28 +00:00
ryan
6de702f183
pretty delete animation, fix squashed icons and use 80x60 thumbs, add rel attrs to attachment links inserted from uploader. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 23:21:27 +00:00
westi
d047875664
Translate WordPress. Fixes #6324 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 09:20:04 +00:00
markjaquith
f3e25d6df3
better Apache mod detection from andy. fixes #6278
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 04:10:01 +00:00
ryan
dfc35da488
Typo fix. see #6243
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 00:34:41 +00:00
ryan
95c51418d8
Degrade flash upload if the server is lightttpd < 1.5. Props nbachyski. fixes #6243
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 00:33:59 +00:00
markjaquith
c6fa4c36ee
Make sure apache_getenv() exists before using it. fixes #6278
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 18:18:59 +00:00
ryan
c66438659d
ngettext fixes from nbachiyski. fixes #6261
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 16:00:09 +00:00
ryan
6acfc685e6
Disable flash uploader if mac and mod_security is enabled. Props andy. fixes #6278
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 06:18:05 +00:00
ryan
afc92801a1
Fix over-aggressive form validation. Props mdawaffe. fixes #6209
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 19:20:18 +00:00
ryan
575b8b4281
Make media button type default filter in Library browser. Props andy. fixes #6231
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 20:09:55 +00:00
ryan
848216b443
do not insert empty links; use the file basename if no title given. Props andy. fixes #6249
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 20:08:43 +00:00
ryan
7a1db035a2
Reduce dependency on inline style. Props mdawaffe. fixes #6228
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 23:58:31 +00:00
ryan
c711c5aaf8
Encode ampersands. Props Quandary. fixes #6212
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 06:44:40 +00:00
ryan
3d0435bb58
Attachment editing from mdawaffe. fixes #6181
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 05:50:07 +00:00
ryan
4b2bc59df8
Color scheme selector fixes from andy. see #6167
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 00:12:34 +00:00
matt
13e2adae6b
See #5911 . Hat tip: andy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 01:30:15 +00:00
matt
355c09e6d0
More attachment thumbnail fixes, see #5911 . Hat tip: andy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 23:04:20 +00:00
matt
8d03359345
Invisible ink delete links. See #5911 . Also some old school colors, half-way done.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 21:49:08 +00:00
westi
c64864598f
Use the new colours stylesheet for the media library. See #5911 props andy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-07 22:40:08 +00:00
ryan
5049a8f7d6
fix missing thumbnail radio button for inserting into post. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 23:40:21 +00:00
ryan
c506a8173c
Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 19:48:54 +00:00
matt
24d3ee2c98
Fix some names and order of filters.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 10:23:00 +00:00
ryan
0e9ffe90bb
Improve upload_max_filesize error. Improve error display for long messages. New uploads now added to bottom, not top. Fix align class. Remove redundant header text. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 06:46:42 +00:00
matt
d320099c83
Table styling and "add media" label. See #5911 . Hat tip: andy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 04:28:23 +00:00
matt
bb22054028
Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:17:37 +00:00
ryan
04c9051a7d
Remove trailing whites.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan
267756fc93
Fix passed by reference errors. Props DD32. fixes #6056
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 20:41:18 +00:00
ryan
dcc9de1076
Remove empty gettext call. Props andy. fixes #6044
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 17:15:34 +00:00
ryan
282ed12fa4
Media library updates from andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:29:51 +00:00
ryan
d236d4f3e1
remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 19:36:02 +00:00
ryan
cc39b5fbce
Add media library uploader tab. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 08:31:10 +00:00
ryan
1eaf857f7b
Media upload updates from andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:30:10 +00:00
ryan
9537359dc4
disregard nonexistant attachments. Props andy. fixes #5967
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 04:34:40 +00:00
ryan
1e2c4818e8
Admin style tweaks from mt. fixes #5974
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 02:07:51 +00:00
ryan
90ef210610
Validation fixes from nbachiyski. fixes #5962
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:30:43 +00:00
ryan
c5d19aed9c
Media library work from andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:53:47 +00:00
ryan
833447d59e
Image size options from tellyworth. fixes #5933
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:00:15 +00:00
ryan
ad42d0148a
Remove raquo from buttons. Props filosofo. fixes #5938
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 19:30:55 +00:00
ryan
8db820753e
Media handling updates from andy. fixes #5874
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 21:54:47 +00:00
ryan
b6cc3da285
gettext string. Props hervada. fixes #5878
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 17:43:03 +00:00
ryan
2bf68a3e80
Finish making upload tabs pluggable. Props andy. fixes #5843
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:36:40 +00:00
ryan
9528af34a0
Multimedia uploader styling from andy. see #5824
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 04:47:31 +00:00
matt
76260edc29
A few places we were missing links to new stylesheet.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 07:53:10 +00:00
matt
6f0a785408
Butter upload buttons. Still need custom dialogs for music/video/other.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 07:44:21 +00:00
ryan
04a6478e12
Constrain image size when adding to editor. Props tellyworth. fixes #5777
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 04:22:38 +00:00
ryan
d88983793b
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
matt
f529123061
First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:21:11 +00:00
ryan
f78af1cbe5
Typo fix from hansengel. fixes #5676
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 19:07:11 +00:00
ryan
3388050bf9
New image uploader from tellyworth. see #5609
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 08:14:29 +00:00