wp-cli / search-replace-command

Searches/replaces strings in the database.
MIT License
57 stars 45 forks source link

use is_serialized() instead of is_string() #170

Closed ideag closed 1 year ago

ideag commented 2 years ago

Fixes #122 - serialization warnings in PHP 8.*

rwagner00 commented 2 years ago

Will confirm that it resolved https://github.com/wp-cli/search-replace-command/issues/122 for me and works as intended.

danielbachhuber commented 1 year ago

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.