diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 9a9b902dea..be37596031 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -844,7 +844,7 @@ class WP_Term_Query { $include = implode( ',', wp_parse_id_list( $this->query_vars['include'] ) ); $orderby = "FIELD( t.term_id, $include )"; } elseif ( 'slug__in' == $_orderby && ! empty( $this->query_vars['slug'] ) && is_array( $this->query_vars['slug'] ) ) { - $slugs = implode( "', '", array_map( 'sanitize_title_for_query', $this->query_vars['slug__in'] ) ); + $slugs = implode( "', '", array_map( 'sanitize_title_for_query', $this->query_vars['slug'] ) ); $orderby = "FIELD( t.slug, '" . $slugs . "')"; } elseif ( 'none' == $_orderby ) { $orderby = ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index 3c32bdc892..3d5bed3cb1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41768'; +$wp_version = '4.9-alpha-41769'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.