[wp-trac] [WordPress Trac] #54798: Check for int in menu priority

WordPress Trac noreply at wordpress.org
Fri Jun 17 01:54:34 UTC 2022


#54798: Check for int in menu priority
--------------------------------------+-----------------------
 Reporter:  kirtan95                  |       Owner:  audrasjb
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.0
Component:  Administration            |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by jrf):

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


Comment:

 This commit introduces an incompatibility with PHP 8.1 `Implicit
 conversion from float 1.5 to int loses precision`....

 This needs a follow-up to fix that.

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


More information about the wp-trac mailing list