[wp-trac] [WordPress Trac] #31104: Plugin activation includes plugin file in variable scope of activate_plugin

WordPress Trac noreply at wordpress.org
Sun Jul 5 20:04:13 UTC 2020


#31104: Plugin activation includes plugin file in variable scope of activate_plugin
-----------------------------+-----------------------------
 Reporter:  Mike_Cowobo      |       Owner:  dd32
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  Future Release
Component:  Plugins          |     Version:  4.2
 Severity:  normal           |  Resolution:
 Keywords:  has-patch early  |     Focuses:
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch early
 * milestone:   => Future Release


Comment:

 Found this ticket while trying to figure out why `activate_plugin()`
 doesn't just call `plugin_sandbox_scrape()` instead of repeating pretty
 much the same.

 I'd be willing to try something like [attachment:"31104.diff"] early in a
 future release and see if any adjustments are needed.

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


More information about the wp-trac mailing list