[wp-trac] [WordPress Trac] #18040: Turning on permalinks, CPT rewrites are ignored
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 11 19:00:02 UTC 2011
#18040: Turning on permalinks, CPT rewrites are ignored
------------------------------------+--------------------
Reporter: andy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.2.1
Component: Post Types | Version: 3.2
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+--------------------
Comment (by nacin):
Let me muse for a moment.
If the rules are flushed when we're in the admin, then permalink_structure
would become populated with basic rules for post types (and, I guess,
nothing else).
In a few areas of core, we do check `'' ==
get_option('permalink_structure')` to decide whether permalinks are in
use, rather than checking $wp_rewrite. I imagine many plugins including
some of ours might be the same.
Does this patch risk these rules ending up in the DB even with default
permalinks on?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18040#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list