WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/16/2008 02:35:24 AM (12 years ago)
Author:
matt
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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']);
Note: See TracChangeset for help on using the changeset viewer.