From 9cd038f54d10e24f60275362485262b94aa5aa24 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Fri, 24 Mar 2023 10:42:21 -0700 Subject: [PATCH] Pass `false` instead of `null` to fix PHP 8.1 warning --- src/Checksum_Core_Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Checksum_Core_Command.php b/src/Checksum_Core_Command.php index 572a777b..570c1b0b 100644 --- a/src/Checksum_Core_Command.php +++ b/src/Checksum_Core_Command.php @@ -162,7 +162,7 @@ private static function get_wp_details() { ); } - $version_content = file_get_contents( $versions_path, null, null, 6, 2048 ); + $version_content = file_get_contents( $versions_path, false, null, 6, 2048 ); $vars = [ 'wp_version', 'wp_db_version', 'tinymce_version', 'wp_local_package' ]; $result = [];