[wp-trac] [WordPress Trac] #16786: Setting permalinks programatically breaks custom post type URL's
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 23 19:44:38 UTC 2012
#16786: Setting permalinks programatically breaks custom post type URL's
-------------------------------------------+-------------------------
Reporter: gilbitron | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Rewrite Rules | Version: 3.1
Severity: minor | Resolution: worksforme
Keywords: 2nd-opinion reporter-feedback |
-------------------------------------------+-------------------------
Changes (by nacin):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
I could see this being an issue if the post type isn't registered before
modify_permalinks() is called. So, wait until wp_loaded.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16786#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list