Show
Ignore:
Timestamp:
05/16/08 02:35:24 (4 months ago)
Author:
matt
Message:

Fix default taxonomy query var. Populate taxonomy and term query vars ASAP. Fixes template fall-through. Hat tip: andy

Files:

Legend:

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

    r7939 r7940  
    160160 
    161161    if ( false !== $args['query_var'] && !empty($wp) ) { 
    162         if ( empty($args['query_var'])
     162        if ( true === $args['query_var']
    163163            $args['query_var'] = $taxonomy; 
    164164        $args['query_var'] = sanitize_title_with_dashes($args['query_var']);