[wp-trac] [WordPress Trac] #19692: create_initial_post_types() called twice.
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 30 02:27:09 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:
Severity: normal | Keywords: dev-feedback
--------------------------+-----------------------------
`create_initial_post_types()` is called ''TWICE'', first in `/wp-
settings.php` ''(line 189 of wp33)'' and then on a zero (`0`) priority
`'init'` hook.
It should only be called once, and ideally on a replaceable `init` hook.
Related: #12539
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19692>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list