[wp-trac] [WordPress Trac] #54730: PHP 8.x: various compatibility fixes for WordPress 6.0
WordPress Trac
noreply at wordpress.org
Fri Feb 25 14:05:40 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 jrf):
Replying to [comment:18 SergeyBiryukov]:
> Looking at [48601], it seems that some other functions need the same fix
as in [52799], since they were all changed to use `wp_parse_url(
network_home_url(), PHP_URL_HOST )`:
>
> * `wpmu_signup_blog_notification()`
> * `wpmu_signup_user_notification()`
> * `wpmu_welcome_notification()`
> * `wpmu_welcome_user_notification()`
> * `wp_notify_postauthor()`
Yes, I started reviewing all uses of `[wp_]parse_url()` a while back, but
there are a LOT of them, so I didn't manage to finish that yet.
I can provide a list of what still needs reviewing with a lot of things
filtered out already if it helps.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54730#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list