[wp-trac] [WordPress Trac] #22731: CPT that only supports Title and Featured Image still shows additional Media views

WordPress Trac noreply at wordpress.org
Wed Dec 5 01:15:48 UTC 2012


#22731: CPT that only supports Title and Featured Image still shows additional
Media views
-----------------------------------+------------------------------
 Reporter:  jchristopher           |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Media                  |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  ux-feedback has-patch  |
-----------------------------------+------------------------------
Changes (by jeremyfelt):

 * keywords:  ux-feedback => ux-feedback has-patch


Comment:

 attachment:22731.diff checks `post_type_supports()` for editor and
 thumbnail before adding the related featured image and gallery strings to
 the media modal.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22731#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list