Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#10992 closed enhancement (fixed)

Add get_post_mime_types()

Reported by: scribu Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Media Keywords: has-patch commit
Focuses: Cc:


The following patch consolidates duplicate code in the following files:

  • wp-admin/includes/post.php
  • wp-admin/upload.php

Also, it fixes a bug related to #10928: "Use as thumbnail" link not displaying in the gallery tab.

Attachments (1)

get_post_mime_types.diff (4.0 KB) - added by scribu 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @scribu
9 years ago

  • Component changed from General to Media
  • Milestone changed from Unassigned to 2.9
  • Version set to 2.9

#2 @markjaquith
9 years ago

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

(In [12110]) Consolidate post_mime_type code. props scribu. fixes #10992

Note: See TracTickets for help on using tickets.