Ticket #36907: 36907.diff
File 36907.diff, 955 bytes (added by , 3 years ago) |
---|
-
src/wp-includes/class-wp-query.php
3260 3260 if ( ! empty( $sticky_posts ) ) { 3261 3261 $stickies = get_posts( 3262 3262 array( 3263 'cache_results' => $q['cache_results'],3264 'lazy_load_term_meta' => $q['lazy_load_term_meta'],3265 3263 'post__in' => $sticky_posts, 3266 3264 'post_type' => $post_type, 3267 3265 'post_status' => 'publish', 3266 'nopaging' => true, 3268 3267 'suppress_filters' => $q['suppress_filters'], 3268 'cache_results' => $q['cache_results'], 3269 3269 'update_post_meta_cache' => $q['update_post_meta_cache'], 3270 3270 'update_post_term_cache' => $q['update_post_term_cache'], 3271 'lazy_load_term_meta' => $q['lazy_load_term_meta'], 3271 3272 ) 3272 3273 ); 3273 3274