[wp-trac] [WordPress Trac] #53635: PHP 8.1: various compatibility fixes

WordPress Trac noreply at wordpress.org
Tue Dec 14 19:18:35 UTC 2021


#53635: PHP 8.1: various compatibility fixes
--------------------------------------------+------------------------------
 Reporter:  SergeyBiryukov                  |       Owner:  hellofromTonya
     Type:  task (blessed)                  |      Status:  accepted
 Priority:  normal                          |   Milestone:  5.9
Component:  General                         |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  php81 has-patch has-unit-tests  |     Focuses:  coding-
                                            |  standards
--------------------------------------------+------------------------------
Changes (by Chouby):

 * Attachment "53635-09-script-translations.patch" added.

 Avoid notices in untrailingslashit() due to the default value of script
 translations path being null instead of an empty string. Also the doc
 blocks don't document null as an accepted value for the path.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53635>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list