[wp-trac] [WordPress Trac] #18578: Remove unused (?) 'hierarchical' arg from register_post_status defaults

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 3 09:48:49 UTC 2011


#18578: Remove unused (?) 'hierarchical' arg from register_post_status defaults
---------------------------+------------------------------------
 Reporter:  simonwheatley  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Post Types     |    Version:  3.2.1
 Severity:  minor          |   Keywords:  has-patch dev-feedback
---------------------------+------------------------------------
 Looks like the `hierarchical` arg, set to false by the defaults in
 `register_post_status` is unnecessary. The attached patch removes the arg
 from the defaults. Other args look like they're OK, I think.

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


More information about the wp-trac mailing list