Ticket #36907: #36907.patch
File #36907.patch, 979 bytes (added by , 3 years ago) |
---|
-
class-wp-query.php
3245 3245 if ( ! empty( $sticky_posts ) ) { 3246 3246 $stickies = get_posts( 3247 3247 array( 3248 'post__in' => $sticky_posts, 3249 'post_type' => $post_type, 3250 'post_status' => 'publish', 3251 'nopaging' => true, 3248 'cache_results' => $q['cache_results'], 3249 'post__in' => $sticky_posts, 3250 'post_type' => $post_type, 3251 'post_status' => 'publish', 3252 'posts_per_page' => count( $sticky_posts ), 3253 'suppress_filters' => $q['suppress_filters'], 3254 'update_post_meta_cache' => $q['update_post_meta_cache'], 3255 'update_post_term_cache' => $q['update_post_term_cache'], 3252 3256 ) 3253 3257 ); 3254 3258