From 344348ba5b29caa44812e1901ff3e6bfc560d0eb Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Tue, 8 Jan 2019 04:32:50 +0000 Subject: [PATCH] Query: Fix some code formatting issues introduced in [44452]. See #38034. Built from https://develop.svn.wordpress.org/trunk@44456 git-svn-id: http://core.svn.wordpress.org/trunk@44287 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-query.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php index 0f38c6479b..49b7017ad0 100644 --- a/wp-includes/class-wp-query.php +++ b/wp-includes/class-wp-query.php @@ -1620,9 +1620,9 @@ class WP_Query { break; case 'post_name__in': if ( ! empty( $this->query_vars['post_name__in'] ) ) { - $post_name__in = array_map( 'sanitize_title_for_query', $this->query_vars['post_name__in'] ); + $post_name__in = array_map( 'sanitize_title_for_query', $this->query_vars['post_name__in'] ); $post_name__in_string = "'" . implode( "','", $post_name__in ) . "'"; - $orderby_clause = "FIELD( {$wpdb->posts}.post_name," . $post_name__in_string . ' )'; + $orderby_clause = "FIELD( {$wpdb->posts}.post_name," . $post_name__in_string . ' )'; } break; default: diff --git a/wp-includes/version.php b/wp-includes/version.php index 70d931cfa3..bca27ec26d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-alpha-44455'; +$wp_version = '5.1-alpha-44456'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.