[wp-trac] [WordPress Trac] #55656: PHP 8.x: various compatibility fixes for WordPress 6.1
WordPress Trac
noreply at wordpress.org
Fri Sep 30 19:30:40 UTC 2022
#55656: PHP 8.x: various compatibility fixes for WordPress 6.1
-------------------------------------------------+-------------------------
Reporter: hellofromTonya | Owner:
| SergeyBiryukov
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 6.1
Component: General | Version:
Severity: normal | Resolution:
Keywords: php8 php81 has-patch has-unit-tests | Focuses: coding-
| standards
-------------------------------------------------+-------------------------
Comment (by jrf):
@tillkruess Thanks for reporting these.
Regarding the notices you reported in
[https://core.trac.wordpress.org/ticket/55656#comment:54 comment:54],
[https://core.trac.wordpress.org/ticket/55656#comment:55 comment:55] and
[https://core.trac.wordpress.org/ticket/55656#comment:57 comment:57: these
are all related to the external dependency Requests for which a new
version is available which fixes all that.
There is already a ticket open to upgrade the dependency - see #54504. You
may want to subscribe to that ticket to track progress.
Regarding the issue reported in
[https://core.trac.wordpress.org/ticket/55656#comment:56 comment:56]:
> rtrim(): Passing null to parameter #1 ($string) of type string is
deprecated
wp-includes/formatting.php:2772
This needs a backtrace to find out what is ''causing'' the notice. This
should be fixed in the originating function call and without backtrace
that cannot be determined.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55656#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list