[wp-trac] [WordPress Trac] #9978: Sticky Posts are not ordered correctly after selection
WordPress Trac
noreply at wordpress.org
Wed May 27 20:27:48 UTC 2015
#9978: Sticky Posts are not ordered correctly after selection
--------------------------------+-----------------------------
Reporter: beaulebens | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Query | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch stickies | Focuses:
--------------------------------+-----------------------------
Changes (by boonebgorges):
* keywords: has-patch, stickies => has-patch stickies
Comment:
Stickies are a nightmare. See #23336. See also
https://core.trac.wordpress.org/ticket/27282#comment:9
Allowing the order in which stickies are returned to be affected by
`'order'`/`'orderby'` seems to me like a change in expected behavior. The
way I've seen stickies used, displaying in the order in which they were
stuck seems like it more closely reflects the intent of the sticker, which
is to say that they want to show things that they most recently thought
were notable.
My inclination would be to leave the current query behavior as-is, and
improve the sticky UI so that people can manually choose the order in
which they appear.
The issue of pagination counts, and what happens when a post appears in
the original results vs when it doesn't, is covered by #27282.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9978#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list