[wp-trac] [WordPress Trac] #12873: get_pages() may be run before init

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 8 14:08:59 UTC 2010


#12873: get_pages() may be run before init
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:              
     Type:  defect (bug)  |      Status:  new         
 Priority:  normal        |   Milestone:  3.0         
Component:  Post Types    |     Version:  3.0         
 Severity:  normal        |    Keywords:  dev-feedback
--------------------------+-------------------------------------------------

Comment(by filosofo):

 Wouldn't it make sense to register post types late in "plugins_loaded"?

 Then such a factory could do its thing at "setup_theme."

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


More information about the wp-trac mailing list