Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r45590 r47122  
    505505        $alias = false;
    506506
    507         // Sanity check. Only IN queries use the JOIN syntax .
     507        // Sanity check. Only IN queries use the JOIN syntax.
    508508        if ( ! isset( $clause['operator'] ) || 'IN' !== $clause['operator'] ) {
    509509            return $alias;
     
    550550            }
    551551
    552             // so long as there are shared terms, include_children requires that a taxonomy is set
     552            // So long as there are shared terms, 'include_children' requires that a taxonomy is set.
    553553            $query['include_children'] = false;
    554554        } elseif ( ! taxonomy_exists( $query['taxonomy'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.