[wp-trac] [WordPress Trac] #29870: Pagination disappears after deleting the last page of post entries

WordPress Trac noreply at wordpress.org
Thu Nov 12 00:03:57 UTC 2015


#29870: Pagination disappears after deleting the last page of post entries
-------------------------------+-----------------------------
 Reporter:  Greg Raven         |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  4.0
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:
-------------------------------+-----------------------------
Changes (by bradyvercher):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I ran into issues with this earlier today where the pagination no longer
 works with custom views that modify the query. The total items count used
 to be calculated based on `$wp_query->found_posts`, so pagination
 correctly accounted for any changes to the query, but that's no longer the
 case.

 It tried to find a way to fix the pagination args from outside the list
 table, but it doesn't look like it's possible after [34271].

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


More information about the wp-trac mailing list