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

WordPress Trac noreply at wordpress.org
Sun Apr 25 13:20:09 UTC 2021


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

Comment (by SergeyBiryukov):

 In [changeset:"50788" 50788]:
 {{{
 #!CommitTicketReference repository="" revision="50788"
 Plugins: When loading a plugin in a "sandbox" on activation, do it once.

 This avoids a fatal error if the plugin is already included, e.g. in unit
 tests.

 Follow-up to [50787].

 See #31104.
 }}}

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


More information about the wp-trac mailing list