[wp-trac] Re: [WordPress Trac] #7457: Sticky Posts
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 4 04:22:36 GMT 2008
#7457: Sticky Posts
----------------------------------+-----------------------------------------
Reporter: ryan | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: sticky posts blessed |
----------------------------------+-----------------------------------------
Comment (by ryan):
Adding menu_order to the sort is pretty slow. The query to fetch the
sticky posts is a const query on a primary key. Very fast. Another
alternative would be to UNION the regular post query and the sticky query.
Don't know if its worth it though.
--
Ticket URL: <http://trac.wordpress.org/ticket/7457#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list