[wp-trac] [WordPress Trac] #14825: 'Sticky' Posts from excluded category still included in WP_Query results

WordPress Trac noreply at wordpress.org
Thu Aug 8 04:38:35 UTC 2013


#14825: 'Sticky' Posts from excluded category still included in WP_Query results
------------------------------------+----------------------
 Reporter:  newmediarts             |       Owner:  ryan
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Query                   |     Version:  3.0.1
 Severity:  major                   |  Resolution:  wontfix
 Keywords:  has-patch dev-feedback  |
------------------------------------+----------------------
Changes (by wonderboymusic):

 * status:  reviewing => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Stickies are a very basic construct: throw these posts at the top of the
 loop on the homepage. The only way to exclude posts is via `post__not_in`.
 The sticky query would be way too complicated (and would have to be
 completely re-thought) if it had to follow all of the rules of the query
 instance that contains it.

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


More information about the wp-trac mailing list