Commit Graph

394 Commits

Author SHA1 Message Date
Andrew Ozz e10d951cce Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18957 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 22:24:53 +00:00
Andrew Ozz cfcb553dfb Add translation comment, props ocean90, fixes #18881
git-svn-id: https://develop.svn.wordpress.org/trunk@18922 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 03:14:41 +00:00
Andrew Ozz 70a7bb3fe0 Fix prepending $editor_id to the Add Media link, see #17578
git-svn-id: https://develop.svn.wordpress.org/trunk@18918 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:12:55 +00:00
Andrew Ozz a115821842 Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
git-svn-id: https://develop.svn.wordpress.org/trunk@18917 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 16:59:33 +00:00
Andrew Ozz 390650f410 As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18902 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:57:50 +00:00
Andrew Nacin a8638d222d Align the bytes.
git-svn-id: https://develop.svn.wordpress.org/trunk@18895 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:57:17 +00:00
Andrew Nacin 7b1d7c6f12 type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18894 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:36:03 +00:00
Andrew Nacin e386cb17c5 UI touches for the single media button. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18890 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:07:04 +00:00
Andrew Nacin 19d613fed2 Merge the four media buttons into one.
* Lots of red.
 * Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
 * Replacement filter is a generic type_url_form_media filter for the new unified form.
 * Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578.



git-svn-id: https://develop.svn.wordpress.org/trunk@18831 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:22:29 +00:00
Andrew Ozz b969d2ea80 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Andrew Ozz bbd210992d Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Jon Cave 85c211d2fe Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206. Fixes #18760.
git-svn-id: https://develop.svn.wordpress.org/trunk@18758 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 14:36:57 +00:00
Andrew Ozz 1948c952a4 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18701 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 02:25:23 +00:00
Jon Cave 73744eb96c Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185.
git-svn-id: https://develop.svn.wordpress.org/trunk@18698 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 18:27:32 +00:00
Andrew Ozz d20435eb03 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18674 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 05:30:58 +00:00
Peter Westwood a60b4ff564 When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@18596 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 11:37:25 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz b7e35b3f6c Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18517 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 21:04:15 +00:00
Andrew Ozz aad319a3ac Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18516 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 01:35:02 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz 54eb9f1f3c Remove tabs from JS, props duck_, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18489 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 08:44:29 +00:00
Andrew Ozz 57bff0b6d8 Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18484 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 19:21:21 +00:00
Andrew Ozz 4e81b893e9 Remove debug bits, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18483 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 09:03:24 +00:00
Andrew Ozz 12a7d989e0 Pluploader take 1, props jacobwg, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18482 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 08:59:35 +00:00
Andrew Ozz 9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Ryan Boren 2258beaf3c Perform a cap check on attachments in media_upload_form_handler(). For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18365 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:44:56 +00:00
Ryan Boren 091ec81919 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: https://develop.svn.wordpress.org/trunk@18346 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:56:42 +00:00
Dion Hulse 577f585169 Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
git-svn-id: https://develop.svn.wordpress.org/trunk@18290 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 12:47:18 +00:00
Ryan Boren 57b6c9aeda 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: https://develop.svn.wordpress.org/trunk@17994 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:19:42 +00:00
Andrew Ozz 0f691b3af3 Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
git-svn-id: https://develop.svn.wordpress.org/trunk@17971 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 16:12:13 +00:00
Andrew Nacin 6aabec9e3c Remove type attribute from textarea. props solarissmoke.
git-svn-id: https://develop.svn.wordpress.org/trunk@17615 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 08:30:08 +00:00
Ryan Boren 642f81dd68 Add some nonce checks to the uploaders. Props duck_. For trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17568 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-28 21:30:59 +00:00
Ryan Boren a73eee9c84 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: https://develop.svn.wordpress.org/trunk@17347 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 03:25:29 +00:00
Ryan Boren 457989ce16 PHP4 compat. Props SergeyBiryukov, westi. see #16080
git-svn-id: https://develop.svn.wordpress.org/trunk@17211 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-03 19:19:34 +00:00
Andrew Nacin ae22a6d462 Tag textareas escaped earlier with textarea_escaped. see #15454.
git-svn-id: https://develop.svn.wordpress.org/trunk@17141 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 17:58:01 +00:00
Peter Westwood 64e7465e1c Ensure that images added using Press This get the correct source url set. Fixes #15841 props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@17120 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:41:05 +00:00
Andrew Nacin 18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Ryan Boren de072fe02a Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:48:20 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Andrew Nacin b8569cefb7 Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545.
git-svn-id: https://develop.svn.wordpress.org/trunk@16773 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 19:42:57 +00:00
Andrew Nacin d6ae552b4e Fix notice. props vericgar, fixes #11976.
git-svn-id: https://develop.svn.wordpress.org/trunk@16729 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 03:01:42 +00:00
scribu 8d2cf2d793 More s/upgrade/update. Props michaelh. See #15656
git-svn-id: https://develop.svn.wordpress.org/trunk@16701 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 09:16:28 +00:00
Andrew Nacin 45051d8206 define isRtl in the media upload iframe. props filosofo, fixes #15639.
git-svn-id: https://develop.svn.wordpress.org/trunk@16687 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 12:44:48 +00:00
Mark Jaquith c9b4b18cf9 Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
git-svn-id: https://develop.svn.wordpress.org/trunk@16669 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:41:47 +00:00
Ryan Boren 36a4508140 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
Andrew Nacin e8dd42ce2a Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@16535 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:26 +00:00
Ryan Boren 6d3ae66a3b get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
git-svn-id: https://develop.svn.wordpress.org/trunk@16476 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 00:04:04 +00:00
Andrew Nacin 1c1f8d45d4 Include a single-column option in gallery settings. props husobj, fixes #14836.
git-svn-id: https://develop.svn.wordpress.org/trunk@16449 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:30:55 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Mark Jaquith 55e0256967 esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
scribu 0e7fb842ec Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
git-svn-id: https://develop.svn.wordpress.org/trunk@16383 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 12:53:11 +00:00
Andrew Nacin 200eefec46 Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Andrew Nacin 50dc640746 Use spaces for alignment. see #15343 [16236]
git-svn-id: https://develop.svn.wordpress.org/trunk@16245 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:42:35 +00:00
Peter Westwood 73c3aa15f5 Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343.
git-svn-id: https://develop.svn.wordpress.org/trunk@16236 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:15:14 +00:00
Nikolay Bachiyski 1937c1221d 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: https://develop.svn.wordpress.org/trunk@16073 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:12:14 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren 4ae97bd34f Don't show private attachment taxonomies in the uploader. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16057 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 18:53:09 +00:00
Peter Westwood 3365e10951 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: https://develop.svn.wordpress.org/trunk@16047 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:41:37 +00:00
Ryan Boren 6f62e4f13c Default send to editor to true if the post parent is empty. Props blepoxp. fixes #14133
git-svn-id: https://develop.svn.wordpress.org/trunk@15920 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 20:17:17 +00:00
Andrew Nacin 0aba879b95 Remove Lucida Grande from the sans serif font stack. fixes #8352, props iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@15858 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 10:30:28 +00:00
Andrew Nacin ea2f90c70e 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: https://develop.svn.wordpress.org/trunk@15688 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 02:58:59 +00:00
Andrew Nacin 9494e4ce7e Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Dion Hulse 9c7369cca9 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15292 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:13:57 +00:00
Mark Jaquith 29a6333a1f 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: https://develop.svn.wordpress.org/trunk@15072 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 06:33:46 +00:00
Nikolay Bachiyski de9e77a9c6 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: https://develop.svn.wordpress.org/trunk@14987 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:42:46 +00:00
Andrew Nacin 8fc8e37158 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: https://develop.svn.wordpress.org/trunk@14930 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:57:55 +00:00
Mark Jaquith bf69494f84 Update upload quota filled message to mention the limit and not suggest file deletion. fixes #13479
git-svn-id: https://develop.svn.wordpress.org/trunk@14897 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 17:53:31 +00:00
Andrew Nacin 0ed95acd34 s/onclick/onClick/. props Gazzer from wp-testers.
git-svn-id: https://develop.svn.wordpress.org/trunk@14827 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 05:15:55 +00:00
Dion Hulse 997c0f8087 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: https://develop.svn.wordpress.org/trunk@14776 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 12:57:49 +00:00
Mark Jaquith dafdd33220 Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: https://develop.svn.wordpress.org/trunk@14730 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 22:08:49 +00:00
Ron Rennick 07bca9ef99 boldly go where no man has gone before, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14693 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 18:44:51 +00:00
Ron Rennick 95694cb813 show upload limit in media upload UI, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14682 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 23:57:32 +00:00
Andrew Nacin 8816885c79 Escape slash in inline JS for SWFUploader. props zeo, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14656 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:14:06 +00:00
Andrew Nacin 47136b319f Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:46:25 +00:00
Andrew Nacin d999daff98 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14633 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:03:59 +00:00
Andrew Nacin 21db580d98 Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14618 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:54:21 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Dion Hulse f72a1d860a Use the correct field when determining if the parent can support the Post Editor. See #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14146 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:09:45 +00:00
Andrew Nacin 56c7b309e6 More tweaks for thumbnail support when no editor support for custom post types. see #12792, props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14118 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 21:45:16 +00:00
Andrew Nacin 240551a9fa Fix notice in get_media_items().
git-svn-id: https://develop.svn.wordpress.org/trunk@14059 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:49:58 +00:00
Mark Jaquith 7c6b7b0a91 Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14015 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 11:20:47 +00:00
Dion Hulse 842e844bc5 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: https://develop.svn.wordpress.org/trunk@13940 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:12:49 +00:00
Dion Hulse 6740a74398 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: https://develop.svn.wordpress.org/trunk@13875 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 09:57:34 +00:00
Andrew Nacin ddc506f01c Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Andrew Nacin 8d0a3589c9 Use disabled() form helper. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13661 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:12:23 +00:00
Andrew Nacin 8b6b16cb2a s/onClick/onclick/. props TobiasBg, see #12429
git-svn-id: https://develop.svn.wordpress.org/trunk@13612 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:06:32 +00:00
Dion Hulse 0da34463e7 Display an Attachment Icon if an Attachment thumbnail is not available. Fixes display of Upload edit fields. Fixes #12328
git-svn-id: https://develop.svn.wordpress.org/trunk@13600 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:00:42 +00:00
Dion Hulse 38817d572b 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: https://develop.svn.wordpress.org/trunk@13528 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:57:03 +00:00
Andrew Nacin 1cc5b31283 s/onClick/onclick/. props TobiasBg fixes #12429
git-svn-id: https://develop.svn.wordpress.org/trunk@13510 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:39:06 +00:00
Ryan Boren 9e5b6d1f34 Pass overrides. Allow ref array calling. Props tychay. fixes #12278
git-svn-id: https://develop.svn.wordpress.org/trunk@13290 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 16:54:51 +00:00
Dion Hulse 4df0240736 Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
git-svn-id: https://develop.svn.wordpress.org/trunk@13283 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:21:32 +00:00
Andrew Nacin 5d808fce86 Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +00:00
Andrew Nacin d824d6bbd4 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: https://develop.svn.wordpress.org/trunk@13244 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 09:17:34 +00:00
Andrew Nacin 6f1bfe6f0e 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: https://develop.svn.wordpress.org/trunk@13243 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 08:19:44 +00:00
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Andrew Nacin 0fc1312800 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Andrew Nacin d43ba9114b Don't use deprecated functions. see #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:35:10 +00:00
Mark Jaquith 4c3fbea45a Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: https://develop.svn.wordpress.org/trunk@12986 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:31:38 +00:00