WordPress.org

Make WordPress Core

Changeset 17494


Ignore:
Timestamp:
03/02/11 17:29:11 (3 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.