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

WordPress Trac noreply at wordpress.org
Mon Jan 24 14:59:33 UTC 2022


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

Comment (by Chouby):

 As #53635 was closed, I tentatively re-propose [attachment:"53635-09
 -script-translations.patch"] to avoid notices in `untrailingslashit()` due
 to the default value of the script translations path being null instead of
 an empty string.
 Also it's worth noticing that the doc blocks don't document `null` as an
 accepted value for the path.

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


More information about the wp-trac mailing list