WordPress.org

Make WordPress Core

Changeset 16538


Ignore:
Timestamp:
11/22/2010 09:56:20 PM (8 years ago)
Author:
scribu
Message:

Prevent notice when checking for hierarchical tax rewrite. Props demetris. See #12891

File:
1 edited

Legend:

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

    r16531 r16538  
    15041504                );
    15051505
    1506                 if ( $t->rewrite['hierarchical'] ) {
     1506                if ( isset( $t->rewrite['hierarchical'] ) && $t->rewrite['hierarchical'] ) {
    15071507                    $q[$t->query_var] = wp_basename( $q[$t->query_var] );
    15081508                }
Note: See TracChangeset for help on using the changeset viewer.