-
Notifications
You must be signed in to change notification settings - Fork 43
PHP compatibility fixes #789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP compatibility fixes #789
Conversation
|
@agibson-godaddy Are you able to review this for the 6.0.0 release? I don't have permission to request reviews via GitHub, sorry. |
|
@peterwilsoncc I will take a look as soon as I can -- thanks for the PR! Will be quite busy over the next week or two but will leave this notification unread to remind me as soon as I have time. 🙏 |
ajaynes-godaddy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good, nothing jumping out at me.
Just noting for anybody watching at home that the htmlspecialchars() changes are essentially just setting the PHP 8.1+ default flags as a back-compat measure.
agibson-godaddy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for the contribution. :)
ccd93c6
into
godaddy-wordpress:release/6.0.0
|
Thanks @agibson-godaddy, Do you need to to create a PR targeting the default branch or will you cherry pick to that as part of the release process? |
|
@peterwilsoncc Sorry not sure if I'm understanding your question. Your changes have been merged into our release branch here: #787 That branch will eventually be merged into default/ |
|
Thanks Ashley, that answers my question. |
Summary
This includes various PHP compatibly fixes both for PHP 8.4 and to ensure PHP 7.4 compatibility.
This targets the 6.0.0 release branch.
Details
mixedtype declarations to maintain support for PHP 7.4 (the current WP & Woo minimum)htmlspecialchars().WeakMapinDynamic_PropsclassUI Changes
N/A
QA
Setup
List any configuration requirements for testing
Before merge