Make WordPress Core


Ignore:
Timestamp:
01/08/2019 04:31:56 AM (6 years ago)
Author:
pento
Message:

Query: Fix some code formatting issues introduced in [44452].

See #38034.

File:
1 edited

Legend:

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

    r44452 r44456  
    16211621            case 'post_name__in':
    16221622                if ( ! empty( $this->query_vars['post_name__in'] ) ) {
    1623                     $post_name__in = array_map( 'sanitize_title_for_query', $this->query_vars['post_name__in'] );
     1623                    $post_name__in        = array_map( 'sanitize_title_for_query', $this->query_vars['post_name__in'] );
    16241624                    $post_name__in_string = "'" . implode( "','", $post_name__in ) . "'";
    1625                     $orderby_clause = "FIELD( {$wpdb->posts}.post_name," . $post_name__in_string . ' )';
     1625                    $orderby_clause       = "FIELD( {$wpdb->posts}.post_name," . $post_name__in_string . ' )';
    16261626                }
    16271627                break;
Note: See TracChangeset for help on using the changeset viewer.