[wp-trac] [WordPress Trac] #10549: Sticky not working with query_posts()
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 24 15:28:34 UTC 2010
#10549: Sticky not working with query_posts()
---------------------------------+------------------------------------------
Reporter: kingjeffrey | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: General | Version: 2.8.1
Severity: normal | Resolution:
Keywords: query_posts, sticky |
---------------------------------+------------------------------------------
Changes (by kingjeffrey):
* status: closed => reopened
* resolution: worksforme =>
Comment:
@nacin
Thank you. I am aware of that, but it does not address my issue.
Sticky posts do not work with
`query_posts('category_name=portfolio&showposts=9');` (regardless of the
`caller_get_posts` setting.
Also, if sticky posts exist, `query_posts('showposts=9');` does not return
9 posts (as would be reasonable to expect). It returns 9 non-sticky
posts _plus_ all sticky posts
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10549#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list