[wp-trac] [WordPress Trac] #19692: create_initial_post_types() called twice.

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 30 04:57:17 UTC 2011


#19692: create_initial_post_types() called twice.
--------------------------+------------------------------
 Reporter:  mikeschinkel  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Post Types    |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------
Changes (by mikeschinkel):

 * cc: mikeschinkel@… (added)
 * version:   => 3.3


Comment:

 Replying to [comment:1 nacin]:
 > This is done on purpose, for compatibility reasons. #12918 for post
 types, #9644 for taxonomies.

 Okay then, but shouldn't the 2nd time the code is run we check a flag and
 not run again?  Or maybe just get rid of the hook, clearly it couldn't be
 used for its intended effect.

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


More information about the wp-trac mailing list