[wp-trac] [WordPress Trac] #16644: [15825] Changed the format of our category links from ?cat=123 to ?category_name=slug
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 26 00:36:33 UTC 2011
#16644: [15825] Changed the format of our category links from ?cat=123 to
?category_name=slug
--------------------------+--------------------
Reporter: markjaquith | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.1.1
Component: Permalinks | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+--------------------
Comment (by dd32):
Replying to [comment:5 markjaquith]:
> dd32 — what do rewrite rules matter? This is for default permalinks — no
rewrite rules are in play.
I was attempting to make the point of why the change has happened, That
it's using the query_var specified in the register_taxonomy call, of
whcih, is also utilised by the
[http://core.trac.wordpress.org/browser/trunk/wp-
includes/taxonomy.php#L331 rewrite rule generation code], when you also
look at the get_term_link code, it either uses the
[http://core.trac.wordpress.org/browser/trunk/wp-
includes/taxonomy.php#L2844 permastruct in use, or the query_var], Ie. The
generated rewrite rules, as well as the non-rewrite rules rely on the same
query var param
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16644#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list