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

WordPress Trac noreply at wordpress.org
Thu Sep 17 21:17:18 UTC 2015


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

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


Comment:

 In [changeset:"34271"]:
 {{{
 #!CommitTicketReference repository="" revision="34271"
 Posts List Table: Use a more robust technique for calculating
 `$total_items` so that pagination still appears when items are removed on
 the last page of results and `->max_num_pages` decreases.

 Props A5hleyRich.
 Fixes #29870.
 }}}

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


More information about the wp-trac mailing list