WordPress.org

Make WordPress Core

Opened 8 months ago

#46346 new defect (bug)

WP_List_Table calculates total_pages as a float

Reported by: lev0 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Administration Keywords:
Focuses: Cc:
PR Number:

Description

Should be an int, not calculated using rounding, preventing off-by-one errors.

Attachments (1)

wp-list-table-integer-total-pages.patch (705 bytes) - added by lev0 8 months ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.