[wp-trac] [WordPress Trac] #21224: Allow remove_post_type_support() to take a $feature array

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 12 00:03:57 UTC 2012


#21224: Allow remove_post_type_support() to take a $feature array
--------------------------+-----------------------------
 Reporter:  DrewAPicture  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Types    |    Version:
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 `add_post_type_support()` already allows a single $feature string or array
 to be added at once. It would be nice not to have to call
 `remove_post_type_support()` multiple times just to remove multiple
 supports.

 If this was specifically done this way for a reason, I'm all ears.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21224>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list