Commit Graph

  • 0cebbfe3e6 Media: Remove the link to the browser uploader. The only need for it is large files (> 100MB) in certain browsers (IE, Opera), so we will show the link then only. fixes #22604. Andrew Nacin 2012-11-28 02:28:10 +00:00
  • 99845d0384 Ensure attachment modal details are saved before the attachment details view is destroyed. props koopersmith. fixes #22593. Andrew Nacin 2012-11-28 02:03:31 +00:00
  • 2422ab4b83 Responsive CSS for the media modal. props azaozz. see #22615, #21390. Daryl Koopersmith 2012-11-28 01:51:15 +00:00
  • c5c74b7a39 Scope media views CSS fallbacks. Ryan Boren 2012-11-28 01:45:06 +00:00
  • a5d63fdb91 Compress scripts/styles: 3.5-RC1-22885. TinyMCE updated. bumpbot 2012-11-28 00:58:44 +00:00
  • 6b911fa633 wp_print_media_templates() does not take an argument. Andrew Nacin 2012-11-27 23:50:26 +00:00
  • 92e85f9957 Editor: When hiding gallery/image editing buttons, use Sizzle rather than TinyMCE's internal DOM object. Avoids errors in case the elements do not exist, such as in Press This. props azaozz. fixes #22463. Andrew Nacin 2012-11-27 23:36:07 +00:00
  • da9ff4451d When editing a plain, legacy [gallery] shortcode, ensure we are sorting its contents using menu_order. Andrew Nacin 2012-11-27 23:20:12 +00:00
  • 7ecac8a876 Media: Ensure the edit image and gallery buttons appear above DFW. They only must appear below the media modal. fixes #22541. props koopersmith. Andrew Nacin 2012-11-27 23:07:41 +00:00
  • 55290a2004 Don't label the form on media-new.php an upload form to avoid esoteric breakage. In past lives, the form has been more complicated than the standard .wp-upload-form use case, with submit buttons that are not just for the uploader, which means we really can't disable them here. Andrew Nacin 2012-11-27 22:41:15 +00:00
  • 8d72af5bfc Compress scripts/styles: 3.5-RC1-22879. TinyMCE updated. bumpbot 2012-11-27 20:58:37 +00:00
  • bf812ac283 Clear the object term relationships cache in wp_set_object_terms() rather than wp_set_post_terms(). This should be done lower in the stack than wp_set_post_terms(). Ryan Boren 2012-11-27 19:42:38 +00:00
  • bccdaa137d Media in Internet Explorer: Properly insert attachments into the editor at the location of the cursor. props azaozz. fixes #22446. Andrew Nacin 2012-11-27 19:24:56 +00:00
  • 3b941ca1b8 Media: IE fixes for attachment selections. props lessbloat. see #22446. Andrew Nacin 2012-11-27 19:14:36 +00:00
  • 7f34c3e8ec Media: Introduce wp.media.editor.open(editor_id) and leverage it in distraction-free writing (fullscreen). props azaozz, koopersmith. fixes #22541. Andrew Nacin 2012-11-27 19:09:00 +00:00
  • ae3472b2a2 Feature pointers: * Finalize the text for the media pointer. Offer it for translation. * Remove the favorites pointer. fixes #22454. Andrew Nacin 2012-11-27 18:58:07 +00:00
  • fad058bf84 Compress scripts/styles: 3.5-RC1-22873. bumpbot 2012-11-27 16:58:37 +00:00
  • d2d01ad797 Always send nocache_headers() for admin-ajax.php. This prevents iOS from caching ajax calls. http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results Ryan Boren 2012-11-27 16:17:53 +00:00
  • 3c3233df00 Show plugin activation message when activating a network only plugin on a single site installation. Ryan Boren 2012-11-27 16:08:35 +00:00
  • e0a32fe27b Fix overflow of long filenames in the media modal. Ryan Boren 2012-11-27 15:58:47 +00:00
  • 6a9c14ed5f Add a delete link to the media modal. Ryan Boren 2012-11-27 15:50:59 +00:00
  • 1f4eed3141 Don't use "embed" when referring to inserting from URL. Ryan Boren 2012-11-27 15:35:36 +00:00
  • 6099051c3e Only show the image edit button for image attachments. Props markoheijnen. fixes #22596 Ryan Boren 2012-11-27 15:06:02 +00:00
  • b750487b07 Fix dragging in IE10 on touch devices. Ryan Boren 2012-11-27 15:00:00 +00:00
  • b1f07f0ae1 Back compat $_REQUEST['post_id'] for media XHR requests. Ryan Boren 2012-11-27 14:58:08 +00:00
  • 31c86e27c2 Clean up WP_Image_Editor_Imagick::test(). Props DH-Shredder. see #22543 Ryan Boren 2012-11-27 14:52:24 +00:00
  • 8b1ebd858a In wp_image_editor(), use wp_image_editor_supports() to check for rotation capabilities rather than directly checking the existence of the imagerotate function. Ryan Boren 2012-11-27 14:36:55 +00:00
  • f7b3d1a854 Make the return of is_upload_space_available() more obvious. props georgestephanis. see #22585. Andrew Nacin 2012-11-27 03:42:02 +00:00
  • 91f6658471 Compress scripts/styles: 3.5-RC1-22860. TinyMCE updated. bumpbot 2012-11-27 02:58:50 +00:00
  • 929d79714b Remove wp_image_editor_class filter. wp_image_editors is sufficient. props scribu. fixes #22538. Andrew Nacin 2012-11-27 02:27:11 +00:00
  • a2535a19b9 No AYS or autosave for attachments on post.php. Reverts part of [22725]. fixes #22491. Andrew Nacin 2012-11-27 02:02:32 +00:00
  • afb0b8627b TinyMCE: improve hiding of the image/gallery popup buttons, fix selecting a gallery in IE, don't leave empty paragraph after deleting an image with the popup button, fixes #22463, see #21390 Andrew Ozz 2012-11-27 01:31:51 +00:00
  • 0c434b7cc7 Rather than question ourselves, exclaim! Ryan Boren 2012-11-27 00:27:36 +00:00
  • 2986ab9418 Show a better message ondmins on link-manager.php, link-add.php, link.php when links are disabled. Ryan Boren 2012-11-27 00:20:27 +00:00
  • 293f8923c4 Consolidate some strings. Props SergeyBiryukov. see #21087 Ryan Boren 2012-11-26 23:12:11 +00:00
  • 0ba9380f4e In media_upload_flash_bypass(), pass the post id in the media-new.php url. In media-new.php, use post_id from REQUEST if passed and the current user can edit the post. Fixes adding media with the browser uploader. Ryan Boren 2012-11-26 23:10:19 +00:00
  • f54c353123 Compress scripts/styles: 3.5-RC1-22852. bumpbot 2012-11-26 22:58:43 +00:00
  • 9e26663d18 Rename 'id' to 'state' in menu item view. Ryan Boren 2012-11-26 22:49:45 +00:00
  • 283e33bd58 Make wp_prepare_attachment_for_js() compatible with plugins that disable all intermediate image sizes (so no images are created on upload), and then create them on the fly using the image_downsize filter (say, with a URL that can dynamically create images on the fly). Ryan Boren 2012-11-26 22:46:56 +00:00
  • 40f11fff98 More feature detection in WP_Image_Editor_Imagick::test(). Check existence of setIteratorIndex(). Ryan Boren 2012-11-26 22:40:34 +00:00
  • 340a772e73 Back compat for media_buttons_context, which is not the correct filter for adding new media buttons. If you want to add additional media buttons, use the media_buttons action instead. fixes #22559. Andrew Nacin 2012-11-26 22:32:35 +00:00
  • e12621eccb In wp.media.editor:send, revert back to the old field names used by media_upload_form_handler() for easier back compat. Fix notices in wp_ajax_send_attachment_to_editor(). Ryan Boren 2012-11-26 22:08:50 +00:00
  • 7ce1968d15 In media_buttons(), consult global post_ID if get_post() comes up with nothing. Default postID to 0 in wp_enqueue_media(). Ryan Boren 2012-11-26 22:03:37 +00:00
  • 390e1756a1 Don't use wp_send_json_* handlers in the upload-attachment XHR handler. Andrew Nacin 2012-11-26 20:12:50 +00:00
  • ff8e7a594d Compress scripts/styles: 3.5-RC1-22844. bumpbot 2012-11-26 16:58:36 +00:00
  • a2eb48c7ab Media: When inserting an attachment, if the item is unattached (no post_parent), attach it to the post. fixes #22085. Andrew Nacin 2012-11-26 16:34:42 +00:00
  • 1368fae5b6 Correctly access the nonce to save attachment fields. Fixes firing attachment_fields_to_save. Ryan Boren 2012-11-26 15:07:36 +00:00
  • 65f7674216 Always render the attachment compat view. Assures attachment_fields_to_edit is always fired. Ryan Boren 2012-11-26 15:05:14 +00:00
  • 8bf86e30f7 Make is_upload_space_available() available for front end page loads. Fixes fatal error when calling wp_editor() from the front end. Ryan Boren 2012-11-26 14:42:43 +00:00
  • 9dd670c47a Compress scripts/styles: 3.5-RC1-22839. bumpbot 2012-11-26 03:47:40 +00:00
  • 99097a2096 Only pass the current screen to the list table constructor when we have a screen to work with. This is not the case for admin-ajax requests. fixes #22570. Andrew Nacin 2012-11-26 03:39:29 +00:00
  • 76b8bb8450 Media: Remove vestige CSS that prevents thumbnails from always showing on media-new.php. props duck_. fixes #22547. Andrew Nacin 2012-11-26 03:37:25 +00:00
  • faca39f74c Media: Watch more events for input changes to catch paste, autocomplete, etc. Andrew Nacin 2012-11-26 03:35:28 +00:00
  • 9774c85abc Media: Include the link URL when inserting non-image attachments. props koopersmith. fixes #22544. Andrew Nacin 2012-11-26 03:33:30 +00:00
  • 1b8e6d9ac6 Use correct variable in wp_ajax_save_attachment(). see #21390. Andrew Nacin 2012-11-26 02:50:01 +00:00
  • 978add32e3 jQuery UI 1.9.2. props ocean90. fixes #22563. Daryl Koopersmith 2012-11-26 01:20:40 +00:00
  • 383e24fcfe Add print_media_templates action to allow custom templates to be added. props ocean90. fixes #22565, see #21390. Daryl Koopersmith 2012-11-25 21:45:30 +00:00
  • 8a75568cd4 Gettext markup for a welcome screen string. Props SergeyBiryukov, xibe. fixes #22546 Ryan Boren 2012-11-23 16:42:31 +00:00
  • 7fbcbebc3d Handle attachments that have an empty mime type or a mime type without a subtype. Ryan Boren 2012-11-23 16:32:21 +00:00
  • 080b51bfe6 Do not optimize/smush/ImageOptim GIFs. Most are either not reduced in size or reduced only couple of bytes but the optimization messes with the transparency/matte. Fixes #22536, see #22381 Andrew Ozz 2012-11-22 19:08:22 +00:00
  • 4bf9e01c2b Mustn't forget to hide the legacy media uploader! see #21390. Andrew Nacin 2012-11-22 13:23:27 +00:00
  • 1f337b2729 3.5-RC1. Andrew Nacin 2012-11-22 13:12:14 +00:00
  • eb3b795233 Compress scripts/styles: 3.5-beta3-22826. bumpbot 2012-11-22 12:58:32 +00:00
  • f20573509b Media: Use a full uploader status view in the inline uploader. see #21390. Daryl Koopersmith 2012-11-22 12:54:49 +00:00
  • 2070f5ca49 Media: Add uploader error detection to the inline uploader view as well. see #21390. Daryl Koopersmith 2012-11-22 12:35:05 +00:00
  • e572052ab8 Media: Properly render any pre-existing upload errors in the uploader status. see #21390. Daryl Koopersmith 2012-11-22 12:24:54 +00:00
  • 6841b73925 Uploader: Display a more specific error message when a file exceeds the file size limit. see #21390. Daryl Koopersmith 2012-11-22 12:18:17 +00:00
  • 99def3ec51 Media: Make friends with media_upload_form. Adds notices for browser incompatibility, upload limits, maximum file size, and large file issues to the uploader. fixes #22243, see #22186, #21390. Daryl Koopersmith 2012-11-22 11:46:03 +00:00
  • 0c83571904 Compress scripts/styles: 3.5-beta3-22819. bumpbot 2012-11-22 10:58:36 +00:00
  • 77ed607d8e Media: Make the pre-upload-ui hooks share an element with the post-upload-ui hooks. see #22186, #21390. Daryl Koopersmith 2012-11-22 10:57:43 +00:00
  • b007f89d0d Media: Display WordPress and plupload error messages whenever an upload fails. see #22243, #22186, #21390. Daryl Koopersmith 2012-11-22 10:56:10 +00:00
  • f44d1d009e WP_Image_Editor: the last stand. * Have wp_get_image_editor() rather than WP_Image_Editor::get_instance(). Having static factory methods would be less confusing if there weren't also static methods tied to individual editor implementations. * Lazy-load the WP_Image_Editor base class and editor implementations. * Have WP_Image_Editor_GD::supports_mime_type() actually check which types it supports. * Deprecate gd_edit_image_support() in favor of wp_image_editor_supports(). Andrew Nacin 2012-11-22 09:52:16 +00:00
  • ff6ae18d2d Media: Add global upload progress to the sidebar. see #21390. Daryl Koopersmith 2012-11-22 09:32:21 +00:00
  • 5e90f834be Two initial feature pointers for WordPress 3.5: plugin favorites and the media dialog. One offered for translation. props nacin, lessbloat, DrewAPicture. see #22454. Andrew Nacin 2012-11-22 09:24:11 +00:00
  • 8865ae9b81 About page for WordPress 3.5, first pass. Not yet offered for translation. props lessbloat, johnbillion. see #22455. Andrew Nacin 2012-11-22 09:16:26 +00:00
  • be4bf5a2aa Updates to post.php help text for posts and pages, including a new section on inserting media. props DrewAPicture, Ipstenu. see #22451. Andrew Nacin 2012-11-22 09:00:39 +00:00
  • 40274b7956 Fix various typos and omissions across a number of help tabs. props DrewAPicture, Ipstenu. see #22451. Andrew Nacin 2012-11-22 08:45:15 +00:00
  • eb6ec0d669 Do SimplePie sanitization with wp_kses_post() rather than DOMDocument, which cannot be guaranteed to be available. Andrew Nacin 2012-11-22 07:23:43 +00:00
  • 555235adcf Compress scripts/styles: 3.5-beta3-22810. bumpbot 2012-11-22 06:58:42 +00:00
  • 4a99fa363e Media: Move sidebar from the frame view to the attachment browser view. Prevents juggling sidebar visibility state, and makes managing sidebar contents more reasonable. see #21390. Daryl Koopersmith 2012-11-22 06:30:25 +00:00
  • 6f9025dbf5 Compress scripts/styles: 3.5-beta3-22808. bumpbot 2012-11-22 04:58:35 +00:00
  • ba65b3ffc7 Media: Replace the thumbnail on post.php using a request variable instead of the referer. props ocean90. fixes #21391. Daryl Koopersmith 2012-11-22 03:43:16 +00:00
  • 0086598c9b Media: Check to see if we need more attachments when the browser is attached to the DOM. fixes #22480, see #21390. Daryl Koopersmith 2012-11-22 03:19:08 +00:00
  • 0b59477b3a Compress scripts/styles: 3.5-beta3-22805. bumpbot 2012-11-22 02:58:33 +00:00
  • d4be102ab2 Media: Convert the attachments browser to use internal views. see #21390. Daryl Koopersmith 2012-11-22 01:43:31 +00:00
  • a18c3758ce Compress scripts/styles: 3.5-beta3-22803. bumpbot 2012-11-22 00:58:36 +00:00
  • 02bd60e532 Media: Make priority list views leverage the subview management class. see #21390. Daryl Koopersmith 2012-11-22 00:41:39 +00:00
  • 54ae64c4b1 Compress scripts/styles: 3.5-beta3-22801. bumpbot 2012-11-21 22:58:36 +00:00
  • a88a487797 Correct get_home_path() for cases where WordPress is installed in a subdirectory called /wp/, previously it would match on /wp-admin instead of /wp causing an incorrect return path. Props SergeyBiryukov. Fixes #20449 Dion Hulse 2012-11-21 22:39:59 +00:00
  • 7d73996c18 Fix action link styling in IE7 and IE8. props SergeyBiryukov. fixes #22467. Andrew Nacin 2012-11-21 22:34:08 +00:00
  • 749d5a3db7 Set svn:eol-style to native for all the files Jon Cave 2012-11-21 22:31:55 +00:00
  • d125854d6b Remove svn:executable property from SimplePie and jcrop files Jon Cave 2012-11-21 22:18:48 +00:00
  • 251ab5e8b1 Fix typo in [22795] Andrew Ozz 2012-11-21 21:16:19 +00:00
  • f1cdbe4224 Improve AYS comparison on the Edit Attachment screen, props nacin, fixes #22491 Andrew Ozz 2012-11-21 21:11:21 +00:00
  • 2b0d2a17fb Autosave: Properly convert undefined fields to empty strings. This bug could cause issues if a post type didn't support the title and/or editor. see #22491. Andrew Nacin 2012-11-21 21:04:04 +00:00
  • 94386517ce Compress scripts/styles: 3.5-beta3-22793. bumpbot 2012-11-21 21:03:21 +00:00
  • 95ed1b1a45 Media: Rename PriorityList's add/remove methods to set/unset (to prevent the default remove from being overridden). see #21390. Daryl Koopersmith 2012-11-21 20:43:42 +00:00
  • e99789f504 Media: Refresh the window-wide uploader whenever a state is activated. Properly unbind controller events. fixes #22504, see #21390. Daryl Koopersmith 2012-11-21 20:34:46 +00:00
  • bf42e8a402 Media: Make the window-wide uploader a subview of the frame view. Daryl Koopersmith 2012-11-21 20:27:49 +00:00
  • 8be5a507aa Uploader: Route plupload errors to the correct handler and prevent naming conflicts. see #21390. Daryl Koopersmith 2012-11-21 20:17:25 +00:00