[wp-trac] [WordPress Trac] #55656: PHP 8.x: various compatibility fixes for WordPress 6.1

WordPress Trac noreply at wordpress.org
Fri Jun 17 03:31:14 UTC 2022


#55656: PHP 8.x: various compatibility fixes for WordPress 6.1
-------------------------------------------------+-------------------------
 Reporter:  hellofromTonya                       |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  6.1
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  php8 php81 php82 has-patch has-      |     Focuses:  coding-
  unit-tests                                     |  standards
-------------------------------------------------+-------------------------

Comment (by jrf):

 I've uploaded a patch to fix the issue
 [https://core.trac.wordpress.org/timeline?from=2022-06-17T02%3A54%3A34%2B01%3A00&precision=second
 described here]:

 > Commit [52569] introduced an new 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/55656#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list