Skip to content
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

51423: wp-admin/includes/plugin.php: PHP 8.0 compatibility fix. #728

Closed
wants to merge 1 commit into from
Closed

51423: wp-admin/includes/plugin.php: PHP 8.0 compatibility fix. #728

wants to merge 1 commit into from

Conversation

xknown
Copy link
Member

@xknown xknown commented Nov 10, 2020

list_files might return false, which will produce a type error in PHP 8.0 when used in the
array_map call.

Trac ticket: https://core.trac.wordpress.org/ticket/51423


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

`list_files` might return `false`, which will produce a type error in PHP 8.0 when used in the
 `array_map` call.
@xknown xknown changed the title wp-admin/includes/plugin.php: PHP 8.0 compatibility fix. 51423: wp-admin/includes/class-wp-site-icon.php: PHP 8.0 compatibility fixwp-admin/includes/plugin.php: PHP 8.0 compatibility fix. Nov 11, 2020
@xknown xknown changed the title 51423: wp-admin/includes/class-wp-site-icon.php: PHP 8.0 compatibility fixwp-admin/includes/plugin.php: PHP 8.0 compatibility fix. 51423: wp-admin/includes/plugin.php: PHP 8.0 compatibility fix. Nov 11, 2020
@xknown xknown closed this by deleting the head repository Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant