#14624 closed enhancement (fixed)
Rename 'caller_get_posts' to 'ignore_stickies'
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
The 'caller_get_posts' query flag should be renamed to 'ignore_stickies', since that's the only thing it's used for:
http://codex.wordpress.org/Function_Reference/query_posts#Sticky_Post_Parameters
It's original purpose, to signal to WP_Query that get_posts() is the origin of the call, is not relevant anymore.
Attachments (1)
Change History (7)
comment:4
in reply to:
↑ 2
markmcwilliams — 3 years ago
Replying to nacin:
+1. Just for completeness I would suggest ignore_sticky_posts.
Yeah, what he said! :) +100
comment:5
markjaquith — 3 years ago
- Resolution set to fixed
- Status changed from accepted to closed
- Version set to 3.0.1
Note: See
TracTickets for help on using
tickets.

+1. Just for completeness I would suggest ignore_sticky_posts.