Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10992 closed enhancement (fixed)

Add get_post_mime_types()

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

Description

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 17 years ago.

Download all attachments as: .zip

Change History (3)

#1 @scribu
17 years ago

  • Component GeneralMedia
  • Milestone Unassigned2.9
  • Version2.9

#2 @markjaquith
17 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.