Tests: Use a more descriptive name for the sticky posts test that verifies the parameters from the main query.

Reorder the parameters of the `get_posts()` call for consistency with similar calls elsewhere.

Follow-up to [52982].

See #36907.
Built from https://develop.svn.wordpress.org/trunk@52985


git-svn-id: http://core.svn.wordpress.org/trunk@52574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-03-23 16:28:06 +00:00
parent b3f614f962
commit 4499c7a17f
2 changed files with 3 additions and 3 deletions

View File

@ -3260,14 +3260,14 @@ class WP_Query {
if ( ! empty( $sticky_posts ) ) {
$stickies = get_posts(
array(
'cache_results' => $q['cache_results'],
'lazy_load_term_meta' => $q['lazy_load_term_meta'],
'post__in' => $sticky_posts,
'post_type' => $post_type,
'post_status' => 'publish',
'suppress_filters' => $q['suppress_filters'],
'cache_results' => $q['cache_results'],
'update_post_meta_cache' => $q['update_post_meta_cache'],
'update_post_term_cache' => $q['update_post_term_cache'],
'lazy_load_term_meta' => $q['lazy_load_term_meta'],
)
);

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-52984';
$wp_version = '6.0-alpha-52985';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.