[wp-trac] [WordPress Trac] #59116: Integer Casting Error in WP_Site_Health::get_test_available_updates_disk_space() wordpress

WordPress Trac noreply at wordpress.org
Wed Aug 16 19:58:04 UTC 2023


#59116: Integer Casting Error in
WP_Site_Health::get_test_available_updates_disk_space() wordpress
--------------------------+-----------------------------
 Reporter:  mathsgrinds   |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  6.3.1
Component:  Site Health   |     Version:  6.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by Presskopp):

 The patch checks the maximum possible int value, and if the available
 space is larger than this, it is simply set to the maximum value (because
 that is enough and it doesn't matter how large it is exactly).

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


More information about the wp-trac mailing list