[wp-trac] [WordPress Trac] #12950: Introduce is_post_type_hierarchical()

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 10 11:44:10 UTC 2010


#12950: Introduce is_post_type_hierarchical()
-------------------------+--------------------------------------------------
 Reporter:  ptahdunbar   |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.0      
Component:  Post Types   |     Version:  3.0      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by dd32):

 Leaving this open for implementation throughout !WordPress.

 I changed the patch slightly, adding a few sanity checks to prevent PHP
 Warnings (Accessing non-existant properties, attempting to use a object as
 a array indicy, etc)

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


More information about the wp-trac mailing list