[wp-trac] [WordPress Trac] #21986: Roll sticky posts into MySQL query
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 24 19:37:39 UTC 2012
#21986: Roll sticky posts into MySQL query
----------------------------+------------------------------
Reporter: martinshopland | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------------------
Comment (by martinshopland):
Yes, sticky posts should not affect the number of posts per page but I
also don't believe you should be limited to one page of sticky posts or
that those posts should appear again on subsequent pages or that you
shouldn't be able to control the order of sticky posts.
I may have to do some benchmark testing, I'll be surprised if the way it's
done now is more efficient.
The code in trunk is a little more concise, arguably slightly less
efficient, but the behaviour is the same.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21986#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list