[wp-trac] [WordPress Trac] #15779: Can't add featured images to custom post types

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 12 23:08:11 UTC 2010


#15779: Can't add featured images to custom post types
-----------------------------+----------------------------------------------
 Reporter:  somatic          |       Owner:  nacin    
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  3.1      
Component:  Post Thumbnails  |     Version:  3.1      
 Severity:  critical         |    Keywords:           
-----------------------------+----------------------------------------------

Comment(by somatic):

 it seems I needed one more add_cap (that I didn't seem to need before the
 new 3.1 map_meta_cap...

 {{{
 $admin->add_cap('edit_published_videos');
 }}}

 Is there a comprehensive list of all the capabilities that must be enabled
 to replicate typical role behavior with custom post types?

 Seems like it would be easier (and less prone to failure) if there was a
 single add_cap that could relate to the 'capability_type' => 'video'
 declaration when registering CPT's...

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


More information about the wp-trac mailing list