Version 6.8.0 of Go Live Update Urls plugin is now available and ready for general use.
This version focused on introducing a script debug mode as well as gracefully handling invalid serialized data with missing classes.
A Bit Delayed
Version 6.8 of PRO has actually been available for a while now but we were waiting for completion of the new “skip rows” featured to be completed in version 6.5 of the basic plugin before writing this announcement. Now that both minor versions have shipped, it’s time to get everyone in the loop.
Script Debug Mode
Because the plugin is built using modern Webpack and React structure, it can be difficult to trace JavaScript errors on the rare occasion an error occurs.
We’ve actually only run into JavaScript errors like twice but we want to be thorough.
The plugin now supports the WordPress core script debug mode which loads a verbose version of the plugin into the browser and automatically provides useful information on the screen and in the browser console.
Script debug may also be enabled by passing a script-debug=true
URL parameter on the Tools page. If an error occurs when script debug is not enabled, you will automatically be prompted to reload the page to enable script debug.
More information may be found here.
Invalid Serialized Data
Go Live Update Urls does fully support updating serialized data. However, some plugins or themes will store the result of full PHP classes in the database. While frowned upon, this will technically work as long as the PHP class remains available.
If the PHP class which is stored in the database, is later removed from the codebase, the corresponding serialized data cannot be updated. Previously, the Go Live Update Urls would fail and immediately stop running to prevent any data from being destroyed.
This plugin can now detect an invalid row and skip it without stopping nor destroying any data.
PHP 7.0 Minimum Requirement
Technically WordPress core works on PHP 5.6 but is is not recommended. Supporting legacy versions of PHP slows down development and delays features. The greater WordPress community has moved on to PHP 7 and we have now followed suite.
Going forward we are no longer supporting PHP 5.6 in favor of a minimum requirement of PHP 7.0.
There is a good chance we will be dropping 7.0 in favor of a newer version in the near future so be prepared to start using officially maintained PHP versions.
Miscellaneous
- Tested to WordPress core version 6.1.1.
- Improved updates handler.
- Introduced
Skip_Rows
class for programmatically skipping database row updates. - Introduced
go-live-update-urls-pro/database/supports-skipping
filter to disable row skipping.