[wp-hackers] Adding built in taxonomies to custom post types

Mike Schinkel mikeschinkel at newclarity.net
Wed Jul 7 23:59:45 UTC 2010


> This is correct, unfortunately so. Because many themes and plugins have,
> over the years, tried to query posts and taxonomies prior to the init hook,
> we are forced load taxonomies and post types twice -- once immediately
> before we load plugins, and then we re-load them again on the init hook. You
> should never rely on the functionality of the former; it is only there to
> prevent plugins and themes not waiting for the init hook from crumbling
> apart. (http://core.trac.wordpress.org/ticket/12918)

The earlier duplicate sounds like something to allow to be disabled by the site admin setting a constant in in wp-config.php? 

-Mike


More information about the wp-hackers mailing list