[wp-trac] [WordPress Trac] #46346: WP_List_Table calculates total_pages as a float

WordPress Trac noreply at wordpress.org
Tue Jan 26 21:48:17 UTC 2021


#46346: WP_List_Table calculates total_pages as a float
----------------------------+-----------------------------
 Reporter:  lev0            |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  5.7
Component:  Administration  |     Version:
 Severity:  minor           |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------

Comment (by jrf):

 Oh and as I said before, if you want to actually eliminate the possibility
 that this problem would for some future iteration of this code crop up -
 your patches do not safeguard this.

 In that case, the code would need to switch to using BCMath.

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


More information about the wp-trac mailing list