Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#25171 closed enhancement (fixed)

Add filters to audio & video miscellaneous sections

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

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 13 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 13 years ago.
25171.2.diff (1.8 KB ) - added by DrewAPicture 13 years ago.

Download all attachments as: .zip

Change History (8)

@desrosj
13 years ago

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

#1 @desrosj
13 years ago

  • Keywords has-patch added

#2 @helen
13 years ago

  • Milestone Awaiting Review3.7

@helen
13 years ago

#3 @helen
13 years ago

  • Owner set to helen
  • Resolutionfixed
  • Status newclosed

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
13 years ago

In 25297:

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

#5 @helen
13 years ago

In 25300:

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

Note: See TracTickets for help on using tickets.