Make WordPress Core

Ticket #32526: taxonomy.diff

File taxonomy.diff, 503 bytes (added by phill_brown, 10 years ago)
  • taxonomy.php

     
    12051205
    12061206                        // so long as there are shared terms, include_children requires that a taxonomy is set
    12071207                        $query['include_children'] = false;
     1208                } elseif ( ms_is_switched() ) {
     1209                        $query['include_children'] = false;
    12081210                } elseif ( ! taxonomy_exists( $query['taxonomy'] ) ) {
    12091211                        $query = new WP_Error( 'Invalid taxonomy' );
    12101212                        return;