Make WordPress Core


Ignore:
Timestamp:
03/02/2011 05:29:11 PM (15 years ago)
Author:
markjaquith
Message:

Revert to the cat=X permalinks from 3.0 and earlier. props dd32. fixes #16644 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r17443 r17494  
    28432843
    28442844        if ( empty($termlink) ) {
    2845                 if ( $t->query_var )
     2845                if ( 'category' == $taxonomy )
     2846                        $termlink = '?cat=' . $term->term_id;
     2847                elseif ( $t->query_var )
    28462848                        $termlink = "?$t->query_var=$slug";
    28472849                else
Note: See TracChangeset for help on using the changeset viewer.