[wp-trac] [WordPress Trac] #53979: Non-valid plugins should be removed from the 'active_plugins' option

WordPress Trac noreply at wordpress.org
Wed Aug 25 19:14:19 UTC 2021


#53979: Non-valid plugins should be removed from the 'active_plugins' option
--------------------------+------------------------------
 Reporter:  tommusrhodus  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by TimothyBlynJacobs):

 Something I'd be worried about is when it is a temporary error. For
 instance files are being replaced so on one page load, the plugin won't be
 "valid" and it will end up getting deactivated. Right now, this only
 occurs if the user visits the plugins page. In other words this is
 functionally changing `wp_get_active_and_valid_plugins` into
 `validate_active_plugins`.

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


More information about the wp-trac mailing list