WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#25171 closed enhancement (fixed)

Add filters to audio & video miscellaneous sections

Reported by: desrosj Owned by: helen
Milestone: 3.7 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: Cc:

Description

Attachments receive a default list of attributes printed in the miscellaneous section of the publish meta box.

Adding a filter to this would allow for the addition or subtraction of specific attributes without having to hook into the attachment_submitbox_misc_actions action.

This would be useful if I wanted to not show the year, or if I wanted to show the channel and encoder information on media heavy sites.

Attachments (3)

25171.patch (804 bytes) - added by desrosj 8 years ago.
Adds manage_media_misc_sections & manage_audio_misc_sections filters for adding or removing of sections on attachment edit screens.
25171.diff (2.0 KB) - added by helen 8 years ago.
25171.2.diff (1.8 KB) - added by DrewAPicture 8 years ago.

Download all attachments as: .zip

Change History (8)

@desrosj
8 years ago

Adds manage_media_misc_sections & manage_audio_misc_sections filters for adding or removing of sections on attachment edit screens.

#1 @desrosj
8 years ago

  • Keywords has-patch added

#2 @helen
8 years ago

  • Milestone changed from Awaiting Review to 3.7

@helen
8 years ago

#3 @helen
8 years ago

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

In 25296:

Add media_submitbox_misc_sections and audio_submitbox_misc_sections filters to allow removing or adding of attachment submitbox sections containing attachment metadata. props desroj, DrewAPicture. fixes #25171.

#4 @helen
8 years ago

In 25297:

Add dynamic classes for attachment metadata submitbox sections. see #22333, #25171.

@DrewAPicture
8 years ago

#5 @helen
8 years ago

In 25300:

Alignment standards for [25296]. props DrewAPicture. see #25171.

Note: See TracTickets for help on using tickets.