[wp-trac] [WordPress Trac] #14370: Custom Taxonomies tagging Attachments

WordPress Trac noreply at wordpress.org
Mon Aug 12 17:32:58 UTC 2013


#14370: Custom Taxonomies tagging Attachments
--------------------------+----------------------
 Reporter:  thee17        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Taxonomy      |     Version:  3.0
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by helen):

 * keywords:  needs-patch =>
 * status:  reopened => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 You need to use `pre_get_posts` for working pagination, not
 `query_posts()`. There you can add the inherit post status to the query
 where appropriate.

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


More information about the wp-trac mailing list