[wp-trac] [WordPress Trac] #25815: Sticky Posts don't work with category__in query

WordPress Trac noreply at wordpress.org
Mon Nov 4 15:54:47 UTC 2013


#25815: Sticky Posts don't work with category__in query
--------------------------+------------------------------
 Reporter:  thezuberat    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Description changed by johnbillion:

Old description:

> If the category__in argument is used for the query (query_posts(), etc.)
> the sticky posts do not work anymore. See
> http://wordpress.org/support/topic/category_in-ampamp-sticky or
> http://wordpress.stackexchange.com/questions/87472/ensuring-sticky-posts-
> are-retrieved-first-without-using-two-queries or
> http://wordpress.org/support/topic/sticky-posts-do-not-work-with-
> category_in-possible-solution
>
> This is imo a major issue because you can't create category specific
> queries which support sticky posts atm.

New description:

 If the `category__in` argument is used for the query (`query_posts()`,
 etc.) the sticky posts do not work anymore. See:

  * http://wordpress.org/support/topic/category_in-ampamp-sticky or
  * http://wordpress.stackexchange.com/questions/87472/ensuring-sticky-
 posts-are-retrieved-first-without-using-two-queries or
  * http://wordpress.org/support/topic/sticky-posts-do-not-work-with-
 category_in-possible-solution

 This is imo a major issue because you can't create category specific
 queries which support sticky posts atm.

--

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25815#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list