search-replace-command
search-replace-command copied to clipboard
use is_serialized() instead of is_string()
Fixes #122 - serialization warnings in PHP 8.*
Will confirm that it resolved https://github.com/wp-cli/search-replace-command/issues/122 for me and works as intended.
Proceeding with https://github.com/wp-cli/wp-cli/issues/5594 for this repository. I've captured this PR to https://gist.github.com/danielbachhuber/6c429bfdd43cae3ddb72559ad1f54446 in case this PR is auto-closed or broken in some way.