Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#27718 closed defect (bug) (fixed)

Hook Docs (48): wp-includes/media.php

Reported by: drewapicture's profile DrewAPicture Owned by: drewapicture's profile DrewAPicture
Milestone: 3.9 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch commit
Focuses: docs Cc:

Description

Documentation is needed for the following hooks:

*editor_max_image_size
*image_downsize
*get_image_tag_class
*get_image_tag
*image_resize_dimensions
*intermediate_image_sizes
*icon_dir
*wp_get_attachment_image_attributes
*img_caption_shortcode
*gallery_style
*wp_mediaelement_fallback
*wp_audio_extensions
*wp_audio_shortcode_library
*wp_audio_shortcode_class
*wp_audio_shortcode
*wp_video_extensions
*wp_video_shortcode_library
*wp_video_shortcode_class
*wp_video_shortcode
*{$adjacent}_image_link
*embed_defaults
*load_default_embeds
*wp_audio_embed_handler
*wp_video_embed_handler
*embed_googlevideo
*wp_embed_handler_audio
*wp_embed_handler_video
*upload_size_limit
*wp_image_editors
*plupload_default_settings
*plupload_default_params
*image_downsize
*wp_prepare_attachment_for_js
*media_upload_tabs
*disable_captions
*media_view_settings
*media_view_strings
*get_attached_media_args
*get_attached_media
*get_post_galleries
*get_post_gallery

*wp_enqueue_media

Attachments (3)

27718.diff (954 bytes) - added by scottlee 11 years ago.
27718.2.diff (24.6 KB) - added by DrewAPicture 11 years ago.
27718.diff + full pass
27718.3.diff (24.3 KB) - added by DrewAPicture 11 years ago.
copy/paste fix in wp_video_shortcode

Download all attachments as: .zip

Change History (7)

@scottlee
11 years ago

@DrewAPicture
11 years ago

27718.diff + full pass

#1 @DrewAPicture
11 years ago

  • Keywords has-patch commit added; needs-patch removed
  • Milestone changed from Awaiting Review to 3.9

27718.2.diff should cover it for this file.

Note: Minor code adjustments at 1487, 2060, 2128.

This ticket was mentioned in IRC in #wordpress-dev by DrewAPicture. View the logs.


11 years ago

@DrewAPicture
11 years ago

copy/paste fix in wp_video_shortcode

#3 @nacin
11 years ago

Good to go.

#4 @DrewAPicture
11 years ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from new to closed

In 28128:

Inline documentation for hooks in wp-includes/media.php.

Props scottlee for the initial patch. Props kpdesign, DrewAPicture.
Fixes #27718.

Note: See TracTickets for help on using tickets.