Commit Graph

  • afa98fa041 Uploader: Correctly trigger error callback. see #21390. Daryl Koopersmith 2012-11-21 20:12:02 +00:00
  • 6423fba2c4 Media: Make inline uploader use main dispose method. see #21390. Daryl Koopersmith 2012-11-21 19:54:06 +00:00
  • 45f6cf2fb5 Media: Remove unused variable for state attributes. see #21390. Daryl Koopersmith 2012-11-21 19:21:08 +00:00
  • 7e091de398 Revert [22767] and fix icon alignment issues in the sprites themselves. props lessbloat. fixes #22527. Andrew Nacin 2012-11-21 19:17:01 +00:00
  • cb17ed8006 WP_Theme: If the parent theme is missing, instantiate a WP_Theme object anyway, so it can hold errors. Andrew Nacin 2012-11-21 18:58:19 +00:00
  • e4759d815d Support attachment_fields_to_save and attachment_fields_to_edit for attachments going through post.php. see #22186. see #21391. Andrew Nacin 2012-11-21 18:53:00 +00:00
  • b629757edb Media: Normalize font sizes, link colors, and other styles. props lessbloat, see #22284, #21390. Daryl Koopersmith 2012-11-21 18:37:52 +00:00
  • 8d49ec29d0 Media: Make the upload state a dedicated screen, instead of including its own library view. see #21390. Daryl Koopersmith 2012-11-21 18:29:53 +00:00
  • 2485bff7a2 Media: Add base form element CSS. props lessbloat. see #22284, #21390. Daryl Koopersmith 2012-11-21 18:00:18 +00:00
  • f8bf1ebec7 Media: Use a more specific class for toolbar buttons. see #22284, #21390. Daryl Koopersmith 2012-11-21 17:50:02 +00:00
  • d7590ae602 Remove legacy media uploader bits from custom-header.php and custom-background.php. see #22186, #21390. Andrew Nacin 2012-11-21 17:44:49 +00:00
  • f98a3e8941 Redirect post-new.php?post_type=attachment to media-new.php. see #22491, #22083, #21391. Andrew Nacin 2012-11-21 17:40:53 +00:00
  • 11699e0567 Media: Make media views dependent on jQuery UI sortable. see #22284, #21390. Daryl Koopersmith 2012-11-21 17:28:14 +00:00
  • d477be2d12 Make jQuery a Backbone dependency. see #21390. Daryl Koopersmith 2012-11-21 17:22:13 +00:00
  • fb99782dcd Media: Move send_to_editor to wp.media.editor.insert to prevent redeclaration. Daryl Koopersmith 2012-11-21 17:01:40 +00:00
  • 815ad62697 Media: Remove unused link-formatting function from media-editor.js. see #21390. Daryl Koopersmith 2012-11-21 16:50:58 +00:00
  • 682afd8c19 Media: Remove dead thickbox code from media-editor.js. see #21390. Daryl Koopersmith 2012-11-21 16:50:13 +00:00
  • 1694382d8d Media: The media views CSS depends on the button styles. see #21390. Daryl Koopersmith 2012-11-21 16:47:55 +00:00
  • 8ce1f39c6c Media: Move the new sections of media-upload.js to media-editor.js to allow the media modal to be used on the front end and prevent dependency conflicts with older themes and plugins. see #21390. Daryl Koopersmith 2012-11-21 16:46:32 +00:00
  • ebb921d018 Posting: Improve the capability checking _wp_translate_postdata() when updating posts. Peter Westwood 2012-11-21 16:34:57 +00:00
  • 9a2033cabc Media: Backwards compatibility for the many send_to_editor filters. props nacin. see #22186, #21390. Daryl Koopersmith 2012-11-21 16:02:20 +00:00
  • 39df8515e5 Move the admin menu icons up one pixel, to restore their 3.4 positioning. props lessbloat. fixes #22527. Andrew Nacin 2012-11-21 15:37:43 +00:00
  • 83087fbddd Re-align the TinyMCE HiDPI icons. props lessbloat. fixes #22528. Andrew Nacin 2012-11-21 15:34:24 +00:00
  • 431314d357 Have the media modal direct users to media-new.php for the browser uploader. fixes #22444. Andrew Nacin 2012-11-21 15:30:48 +00:00
  • 0b402a8dc1 media-new.php: Remove unused scripts, strings, error handling, save handling, and save button. fixes #22083. Andrew Nacin 2012-11-21 15:10:17 +00:00
  • fe20fc8ccc Compress scripts/styles: 3.5-beta3-22763. bumpbot 2012-11-21 14:58:31 +00:00
  • 5432b5a3f6 Media: Calculate image width and height when embedding images. see #21390. Daryl Koopersmith 2012-11-21 14:32:52 +00:00
  • 493572fd09 Media: Backwards compatibility for the disable_captions filter. see #22186, #21390. Daryl Koopersmith 2012-11-21 14:27:22 +00:00
  • 185c2d1afc Media: Use the wp.media.string functions when generating embed strings. Embed captions now work. see #21390. Daryl Koopersmith 2012-11-21 14:20:01 +00:00
  • 893e77607d Revert accidental changes to admin/includes/media.php in [22755]. see #22083. Andrew Nacin 2012-11-21 14:04:24 +00:00
  • 4c2e0d6b45 Media: Make the attachment object optional when using the wp.media.string methods. see #21390. Daryl Koopersmith 2012-11-21 13:53:15 +00:00
  • b59a8855db Properly nest the if tag. props helenyhou. see #21391. Andrew Nacin 2012-11-21 13:32:26 +00:00
  • 663dd97aa8 Customizer: Track the link that was used to open the customizer and restore focus on close. props lessbloat. fixes #21283. Daryl Koopersmith 2012-11-21 13:17:10 +00:00
  • 9d2cc09ce1 Have media-new.php return simple rows of basic attachment data, with an 'Edit' link next to each taking them to post.php (in a new window). Not ideal, but this is largely a fallback screen at this point. Andrew Nacin 2012-11-21 13:05:44 +00:00
  • 9360fd4fa4 Compress scripts/styles: 3.5-beta3-22754. bumpbot 2012-11-21 12:58:33 +00:00
  • 6ee49f047f Media: Ensure Attachments.mirror returns true. see #21390. Daryl Koopersmith 2012-11-21 12:53:02 +00:00
  • d2c8701c37 Remove cruft from media-new.php. No need to keep extra parameters around (including post ID, which is always 0 here). see #22083. Andrew Nacin 2012-11-21 12:27:12 +00:00
  • 7572347b8c Split media-new.php and media-upload.php into distinct files. * media-new.php will remain the entry point for uploading isolated files, and for using the browser-based uploader (versus Plupload). * media-upload.php is the legacy (pre-3.5) media uploader. see #22083. Andrew Nacin 2012-11-21 12:19:40 +00:00
  • aa3bfdc808 Media: Remove redundant code. Daryl Koopersmith 2012-11-21 12:11:38 +00:00
  • b69e4bf685 Properly refresh the thumbnail on post.php after an image edit. props ocean90. see #21391. Andrew Nacin 2012-11-21 12:05:24 +00:00
  • 4283deb34c Non-images don't have alternative text. props helenyhou. see #21391. Andrew Nacin 2012-11-21 12:03:35 +00:00
  • 59be9048dd Stop inserting title attributes for images inserted into the editor by modifying get_image_send_to_editor(), not the generic get_image_tag(). Andrew Nacin 2012-11-21 11:50:30 +00:00
  • e9670df395 Media: Make mirroring a collection of attachments a special case of observing a collection of attachments. see #21390. Daryl Koopersmith 2012-11-21 11:35:30 +00:00
  • 052b765819 Media: Add filters for image-only libraries. see #22514, #21390. Daryl Koopersmith 2012-11-21 11:04:23 +00:00
  • bc69308164 Compress scripts/styles: 3.5-beta3-22744. bumpbot 2012-11-21 10:58:28 +00:00
  • 8e6aa60fa4 Media: Dynamically generate attachment filters using get_post_mime_types(). Daryl Koopersmith 2012-11-21 10:18:59 +00:00
  • 79435f42fa Use a variable that is set a few lines up. $post_id is set only in post.php, not post-new.php. fixes #21092. Andrew Nacin 2012-11-21 09:35:23 +00:00
  • 27515780f6 Media: Remove debug cruft. props ocean90. see #21390. Daryl Koopersmith 2012-11-21 09:28:58 +00:00
  • ba3fbd26bd Compress scripts/styles: 3.5-beta3-22740. bumpbot 2012-11-21 08:58:30 +00:00
  • 04cc69db01 Media: Ensure icons stay within the bounds of their surrounding view. fixes #22522, see #21390. Daryl Koopersmith 2012-11-21 08:44:22 +00:00
  • 555141ebe4 Media: Dropping images on the edit gallery view will automatically add those images to the gallery. fixes #22521, see #21390. Daryl Koopersmith 2012-11-21 08:17:45 +00:00
  • 6a9778959c Media: Prevent type and search attachments filters from short circuiting. Daryl Koopersmith 2012-11-21 08:09:28 +00:00
  • 961a962a3c Remove trailing slashes from UPLOADS before trying a str_replace() in wp_upload_dir(). props jbrinley. fixes #22469 Mark Jaquith 2012-11-21 07:08:38 +00:00
  • db7dc96921 Media: For pages, use 'Insert into page' rather than 'Insert into post'. Andrew Nacin 2012-11-20 23:22:03 +00:00
  • 265d65f0fd Compress scripts/styles: 3.5-beta3-22734. bumpbot 2012-11-20 22:58:28 +00:00
  • a0dca55d03 Media: Set a max width on select elements in the sidebar. fixes #22517, see #21390. Daryl Koopersmith 2012-11-20 22:51:35 +00:00
  • 0857770a56 Color picker: Instant feedback when typing a color. Strengthens alt + arrows for moving around the palette. props mattwiebe. fixes #22475. fixes #22388. Andrew Nacin 2012-11-20 22:02:09 +00:00
  • acf2af8cb7 Customizer: Let return/enter fire click events for dropdowns and links. Remove errant focus event. Re-add box shadow and border for the overlay header. props lessbloat. see #21283. Andrew Nacin 2012-11-20 21:25:54 +00:00
  • b254457b19 Skip To links: visually hide by only setting top: -1000em; (this should make them work well in all screen readers), fixes #21312 Andrew Ozz 2012-11-20 21:14:49 +00:00
  • f633a3aeff Compress scripts/styles: 3.5-beta3-22729. bumpbot 2012-11-20 20:58:28 +00:00
  • 68be504421 Toolbar: sync jQuery and non-jQuery JS behaviour when there's a hash in the url, props tlovett1, fixes #22520 Andrew Ozz 2012-11-20 20:45:03 +00:00
  • 6b22cbcbc7 Use standard link colors with the skip links. see #21310. Andrew Nacin 2012-11-20 20:25:54 +00:00
  • a1bb1de73f Skip links: simplified look with more contrast, props sabreuse, fixes #21310 Andrew Ozz 2012-11-20 19:58:47 +00:00
  • 5e7443ca85 Don't load autosave.js on the attachment editing screen, add simple AYS on unload if there are changes, props helenyhou, fixes #22491 Andrew Ozz 2012-11-20 19:46:38 +00:00
  • 0f21638a91 Compress scripts/styles: 3.5-beta3-22724. bumpbot 2012-11-20 18:58:31 +00:00
  • 0a830bf46b Fix up the 'Attach' dialog on upload.php. Andrew Nacin 2012-11-20 18:50:15 +00:00
  • e158d36f6e Don't bail from get_the_terms() if the post type is not registed for the taxonomy. This can break back compat when add_post_type_support( 'page', 'post-formats' ) is called but register_taxonomy_for_object_type( 'postr_-format', 'page' ) is not. Ryan Boren 2012-11-20 18:31:06 +00:00
  • 7194aa3b9c IE RTL fixes for .screen-reader-text. props lessbloat. see #22467. Andrew Nacin 2012-11-20 18:26:32 +00:00
  • 16d68f6dba RTL media-views fixes. props ocean90. fixes #22453. Andrew Nacin 2012-11-20 18:22:19 +00:00
  • a5a14e4e7e No-JS fixes. * Hide QuickPress. * Hide the gap between the title and content editor. * Hide 'select all' checkboxes in list tables. * Hide a non-functioning link in the custom fields metabox. * Hide non-functioning buttons in the featured image box (same as in 3.4). * RTL and miscellany. Andrew Nacin 2012-11-20 18:20:14 +00:00
  • 628778d7c1 Account for taxonomies tied to specific kinds of attachments when setting up post types for a taxonomy query. Andrew Nacin 2012-11-20 17:33:21 +00:00
  • 2e6be2d063 Compress scripts/styles: 3.5-beta3-22717. bumpbot 2012-11-20 14:58:32 +00:00
  • 1e83e0eaae Media: Maintain event bindings in the main embed view. see #21390. Daryl Koopersmith 2012-11-20 14:44:23 +00:00
  • fb3d44da9b Media: Remove default gallery shortcode attributes when generating shortcode output. see #21390. Daryl Koopersmith 2012-11-20 14:38:20 +00:00
  • f3199b6005 Media: Correctly fetch the default post ID when editing a gallery. see #21390. Daryl Koopersmith 2012-11-20 14:33:48 +00:00
  • 69f9e2a1bf Media: Allow all galleries to be sortable. fixes #22488, see #21390. Daryl Koopersmith 2012-11-20 14:04:59 +00:00
  • 76c67989a7 Media: Add filters to the media library. fixes #22514, see #21390. Daryl Koopersmith 2012-11-20 13:49:35 +00:00
  • 995c548174 Compress scripts/styles: 3.5-beta3-22711. bumpbot 2012-11-20 12:58:29 +00:00
  • 30e1926f4b Media: Refresh the attachment display settings when the active attachment finishes uploading. fixes #22452, see #21390. Daryl Koopersmith 2012-11-20 11:57:08 +00:00
  • e707481dcf Media Uploader: Change an uploaded attachment's 'updating' key with the rest of the returned attributes to allow events bound to 'change:updating' to access the new properties. see #21390. Daryl Koopersmith 2012-11-20 11:52:08 +00:00
  • 3f362417c7 Media: Remove dead dropdown code from button view. see #21390. Daryl Koopersmith 2012-11-20 11:29:00 +00:00
  • 10d46dd112 Buttons: Remove unused button arrows and dropdowns. see #21598, #21390. Daryl Koopersmith 2012-11-20 11:26:26 +00:00
  • ce06a037dd Media: Attachment checkboxes now function as such. fixes #22462, see #21390. Daryl Koopersmith 2012-11-20 11:10:04 +00:00
  • 21598abfd3 Compress scripts/styles: 3.5-beta3-22705. bumpbot 2012-11-20 04:58:34 +00:00
  • aae8a0bdd1 Buttons: Ensure correct disabled submit button state in iOS. props johnbillion, fixes #22490. Daryl Koopersmith 2012-11-20 03:20:17 +00:00
  • 4a696709f8 Media: Allow textareas to be vertically resized. see #21390. Daryl Koopersmith 2012-11-20 02:59:31 +00:00
  • 1f5e71fd3a Add media_view_settings and media_view_strings hooks. fixes #21092 for 3.5. see #21390. Andrew Nacin 2012-11-20 02:58:33 +00:00
  • 5881079072 Compress scripts/styles: 3.5-beta3-22701. bumpbot 2012-11-20 02:58:28 +00:00
  • bd9129fa9a Media: Whoops. Remove error_log. see [22699], #21390. Daryl Koopersmith 2012-11-20 02:40:31 +00:00
  • 81bb685bc0 Media: Improve media buttons on the front end. Daryl Koopersmith 2012-11-20 02:35:30 +00:00
  • c753f3bd74 Fix HiDPI pointer arrows used in the feature pointers. props lessbloat. fixes #22510. Andrew Nacin 2012-11-20 02:09:37 +00:00
  • 82c724246a Color Picker keyboard accessibility. So awesome. props lessbloat, mattwiebe. see #22475. Andrew Nacin 2012-11-20 02:02:07 +00:00
  • 092d919033 Welcome panel IE fixes. props SergeyBiryukov, see #19687. Andrew Nacin 2012-11-20 01:56:45 +00:00
  • 349b312b54 Custom Header: Remove Farbtastic-era "Reset Text Color" button. Show default color when JS is disabled. props DrewAPicture. fixes #22461. Andrew Nacin 2012-11-20 01:53:59 +00:00
  • 86b1e35bcf Media: Prevent undefined errors when media scripts are enqueued outside of wp_enqueue_media(). fixes #22495, see #21390. Daryl Koopersmith 2012-11-20 01:48:37 +00:00
  • 8ff00bcf38 Compress scripts/styles: 3.5-beta3-22693. bumpbot 2012-11-20 00:58:32 +00:00
  • 49ac6ba800 Media: Detect when views are added to the DOM and fire a ready event. see #21390. Daryl Koopersmith 2012-11-20 00:53:02 +00:00
  • aa2109949a Compress scripts/styles: 3.5-beta3-22691. bumpbot 2012-11-19 22:58:31 +00:00
  • c14200e07b Media: Add render tracking to views. see #21390. Daryl Koopersmith 2012-11-19 22:48:11 +00:00
  • 3f57bfeb9d Use correct variable. see #17860. Andrew Nacin 2012-11-19 21:43:47 +00:00