[wp-trac] [WordPress Trac] #21527: post_type_supports(), no arguments case

WordPress Trac noreply at wordpress.org
Fri Mar 15 18:02:18 UTC 2013


#21527: post_type_supports(), no arguments case
------------------------------+-----------------------
 Reporter:  bilalcoder        |       Owner:
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  3.6
Component:  Post Types        |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Looks like `remove_post_type_support()` can lose some redundant code too,
 the second `isset()` check is unnecessary: [attachment:21527.2.diff].

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


More information about the wp-trac mailing list