[wp-trac] [WordPress Trac] #31104: Plugin activation includes plugin file in variable scope of activate_plugin
WordPress Trac
noreply at wordpress.org
Fri Jan 23 21:09:03 UTC 2015
#31104: Plugin activation includes plugin file in variable scope of activate_plugin
--------------------------+--------------------
Reporter: Mike_Cowobo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Plugins | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by dd32):
The only problem that could kick in here, IMHO, would be plugins that
expect those variables to be available at inclusion time.
That being said, no-plugin should be running code on inclusion (other than
actions/filters/activation hooks), or have global variables such as that,
and since the plugin is already loaded, if it wants to mess with those
settings it can do that too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31104#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list