wp-cli / search-replace-command

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

Use empty string default value for flags to safeguard the use of `explode()` #169

Closed cjhaas closed 1 year ago

cjhaas commented 2 years ago

Fixes PHP 8.1 deprecation warning for passing null to explode.

See #168 for more details

Soean commented 1 year ago

We have ran into the same issue, this change should fix the problem.

@schlessera How can we help here to get the problem fixed?