mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Rename caller_get_posts WP_Query flag to ignore_sticky_posts, because that is the only thing it does. fixes #14624. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15589 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1122,7 +1122,7 @@ function get_posts($args = null) {
|
||||
} elseif ( ! empty($r['exclude']) )
|
||||
$r['post__not_in'] = wp_parse_id_list( $r['exclude'] );
|
||||
|
||||
$r['caller_get_posts'] = true;
|
||||
$r['ignore_sticky_posts'] = true;
|
||||
$r['no_found_rows'] = true;
|
||||
|
||||
$get_posts = new WP_Query;
|
||||
|
||||
Reference in New Issue
Block a user