wp-cli / search-replace-command

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

Fix test for WordPress trunk #197

Closed swissspidy closed 1 month ago

swissspidy commented 1 month ago

siteurl is not necessarily the first row in wp_options.

It appears that other options such as cron can be first.

This removes the option ID from the assertion, as it is not relevant.

We only want to verify that the site URL changed.

ernilambar commented 1 month ago

siteurl is not necessarily the first row in wp_options.

It appears that other options such as cron can be first.

Any idea which recent core changeset made changes regarding this?

swissspidy commented 1 month ago

Not really. Maybe one of the autoload-related changes 🤷