pantheon-systems / wp-redis

WordPress Object Cache using Redis.
https://wordpress.org/plugins/wp-redis/
GNU General Public License v2.0
225 stars 67 forks source link

PHP 8.1 deprecated warning #447

Open shawfactor opened 8 months ago

shawfactor commented 8 months ago

On line 1307 of object-cache.php the port needs to be cast to a string to prevent a deprecated warning when the port is zero when using php 8.1