Make WordPress Core


Ignore:
Timestamp:
10/16/2014 10:06:46 PM (11 years ago)
Author:
boonebgorges
Message:

Remove invalid continue calls from WP_Tax_Query::get_sql_for_clause().

This was leftover code from the previous implementation, which used a foreach()
loop. See [29901].

Props nofearinc.
See #29738, #29718.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r29915 r29931  
    10421042
    10431043            if ( empty( $terms ) ) {
    1044                 continue;
     1044                return $sql;
    10451045            }
    10461046
     
    10561056
    10571057            if ( empty( $terms ) ) {
    1058                 continue;
     1058                return $sql;
    10591059            }
    10601060
Note: See TracChangeset for help on using the changeset viewer.