Skip to content

Commit 0a0d8d5

Browse files
committed
lint
1 parent 5d06442 commit 0a0d8d5

File tree

2 files changed

+239
-229
lines changed

2 files changed

+239
-229
lines changed

src/wp-includes/class-wp-query.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2509,9 +2509,9 @@ public function get_posts() {
25092509
*/
25102510
$orderby = "{$wpdb->posts}.post_date " . $query_vars['order'] . ', ' . "{$wpdb->posts}.ID " . $query_vars['order'];
25112511
}
2512-
// See get_pages(): when sort_column is 'none', the get_pages() function should not generate any ORDER BY clause.
2513-
// Should it rather be handled in the get_pages() function?
2514-
// src/wp-includes/post.php L6496
2512+
// See get_pages(): when sort_column is 'none', the get_pages() function should not generate any ORDER BY clause.
2513+
// Should it rather be handled in the get_pages() function?
2514+
// src/wp-includes/post.php L6496
25152515
} elseif ( 'none' === $query_vars['orderby'] || ( is_array( $query_vars['orderby'] ) && array_key_exists( 'none', $query_vars['orderby'] ) ) ) {
25162516
$orderby = '';
25172517
} else {

0 commit comments

Comments
 (0)