[wp-trac] [WordPress Trac] #16736: Rewrite rules are generated inconsistently for custom taxonomies and /%category%/%postname% permalink structure
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 3 02:03:58 UTC 2011
#16736: Rewrite rules are generated inconsistently for custom taxonomies and
/%category%/%postname% permalink structure
---------------------------+-----------------------------
Reporter: valentinas | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 3.1
Severity: normal | Keywords:
---------------------------+-----------------------------
Steps to reproduce:
1. Fresh install of WordPress 3.1
2. Activate dummy custom post type + custom taxonomy plugin (attached,
code taken from codex)
3. Go to Settings->Permalinks, set Custom Structure
"/%category%/%postname%" and save
4. Go to database table wp_options and look for an option "rewrite_rules"
it will have 76 rules.
5. Save permalinks again (or reload permalinks page or just visit
permalinks page again)
6. 4. Go to database table wp_options and look for an option
"rewrite_rules" again
'''Expected result:''' you should see the same rules as first time,
because permalink structure haven't changed.[[BR]]
'''Actual result:''' there will be more (104 in my case) rules than first
time.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16736>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list