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
This commit is contained in:
parent
363cfc4301
commit
344348ba5b
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue