[wp-trac] [WordPress Trac] #27994: Erroneous plugin deactivation should be a manual action

WordPress Trac noreply at wordpress.org
Tue Mar 19 18:52:27 UTC 2019


#27994: Erroneous plugin deactivation should be a manual action
---------------------------------------+------------------------------
 Reporter:  johnbillion                |       Owner:  (none)
     Type:  enhancement                |      Status:  reopened
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Plugins                    |     Version:  2.5
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch bulk-reopened  |     Focuses:  administration
---------------------------------------+------------------------------
Changes (by ckeeney):

 * keywords:  needs-patch, bulk-reopened => needs-patch bulk-reopened


Comment:

 I agree we need the ability to disable this behavior, preferably in `wp-
 config.php`.  It is possible there are multiple instances of WordPress
 running connected to a single database that may not be configured
 identically. Here is my use-case I posted on #46564 (duplicate issue)

 I have a production instance of WordPress running that relies on
 https://wordpress.org/plugins/wp-stateless/ to store media on Google Cloud
 Storage.
 I plan to migrate to Google App Engine and when I do so I won't need WP-
 Stateless anymore (because I can mount GCS buckets into an app engine
 instance).
 The simple solution is to get a new instance of WP running connected to
 the production database without WP-Stateless and then point DNS at the new
 instance. This works, but if an admin user on the new instance merely
 visits the WP Plugins page, the new instance will disable wp-stateless in
 the database and break the production instance before the DNS has migrated
 over.

 I know this example is very specific and maybe even contrived, but I think
 users expect that they can safely browse the plugins page without breaking
 anything and today that isn't necessarily the case.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/27994#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list