[wp-trac] [WordPress Trac] #22299: posts_per_page value in $wp_query does not work in index.php

WordPress Trac noreply at wordpress.org
Sun Oct 28 01:42:11 UTC 2012


#22299: posts_per_page value in $wp_query does not work in index.php
--------------------------+------------------------------
 Reporter:  alexvorn2     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close
 * component:  General => Query


Comment:

 `pre_get_posts` hook should be used instead.

 See #11067, #16168, #16450, #19463.

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


More information about the wp-trac mailing list