[wp-trac] [WordPress Trac] #15427: Bug when creating a new post during 'plugins_loaded'
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 14 20:19:29 UTC 2010
#15427: Bug when creating a new post during 'plugins_loaded'
--------------------------+-------------------------------------------------
Reporter: shidouhikari | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version:
Severity: minor | Keywords: close
--------------------------+-------------------------------------------------
Changes (by nacin):
* keywords: => close
Comment:
Register a post type before init, with rewrite = true.
$wp_rewrite will fail that way too.
Plugins_loaded is early enough to load your plugin. That's about it. You
need to wait for init until basically everything.
Clearly, it's not working. What more error do you need? :-) If anything
WP_Error will mask it further.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15427#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list