[wp-trac] [WordPress Trac] #28334: Paginate_links : First link and previous link are break

WordPress Trac noreply at wordpress.org
Thu May 22 18:33:17 UTC 2014


#28334: Paginate_links : First link and previous link are break
-------------------------------+------------------------------
 Reporter:  nexurium           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  2.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  template
-------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 kitchin]:
 > Maybe your bug is that thing about a blank last page of archives that
 happens sometimes, I forget why, maybe because of private posts??

 Every pagination issue I've seen so far was caused by using
 [http://codex.wordpress.org/Function_Reference/query_posts query_posts()].
 If you need to modify the main query,
 [http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts
 pre_get_posts] should be used instead.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28334#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list