[wp-trac] [WordPress Trac] #53432: Fatal error during update to 5.8 of a site with an active Gutenberg plugin (version less than 10.7)
WordPress Trac
noreply at wordpress.org
Fri Jun 25 04:11:15 UTC 2021
#53432: Fatal error during update to 5.8 of a site with an active Gutenberg plugin
(version less than 10.7)
---------------------------------------+-----------------------------
Reporter: oglekler | Owner: hellofromTonya
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.8
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses:
---------------------------------------+-----------------------------
Comment (by peterwilsoncc):
In the [https://github.com/WordPress/wordpress-develop/pull/1431/files
linked pull request]:
* The warning displays once and once only to the first person who logs in
and has the `activate_plugins` capability
* Introduces a new option `wp_deactivated_plugins` to store details about
plugins that have been deactivated
* Introduces a new function `wp_deactivated_plugins_notice` which displays
notices about a plugin that has been disabled during the upgrade
* Question: I've got an auto-loading option to avoid an additional db
query on every admin screen but it adds a row to the options table that
will be infrequently used. Is this the better approach or should WP just
make the extra query?
To test the effect, run this wpcli command: `wp option update
wp_deactivated_plugins --format=json "{ \"gutenberg\": {\"plugin_name\":
\"Gutenberg\", \"version_deactivated\": \"1.2\", \"version_compatible\":
\"10.8\" }}"`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53432#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list