[wp-trac] [WordPress Trac] #14077: Add support for removal of multiple features from a post type in remove_post_type_support

WordPress Trac noreply at wordpress.org
Sat Aug 31 04:08:00 UTC 2013


#14077: Add support for removal of multiple features from a post type in
remove_post_type_support
-------------------------+-----------------------------
 Reporter:  Utkarsh      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Post Types   |     Version:  3.0
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------
Changes (by wycks):

 * cc: bob.ellison@… (added)


Comment:

 Patch update for 3.6, seems `add_post_type_support` got an array but `
 remove_post_type_support` didn't.

 Can test with:


 {{{
 function init_remove_support(){
         $post_type = 'post';
         remove_post_type_support( $post_type, array('editor',  'title',
 'thumbnail'));
 }

 }}}

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


More information about the wp-trac mailing list