[wp-trac] [WordPress Trac] #55432: The $plugin parameter of the "plugin_loaded" action can be polluted by individual plugins
WordPress Trac
noreply at wordpress.org
Mon Mar 28 13:57:22 UTC 2022
#55432: The $plugin parameter of the "plugin_loaded" action can be polluted by
individual plugins
--------------------------------------------------+-----------------------
Reporter: stevegrunwell | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.0
Component: Plugins | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit assigned-for-commit | Focuses:
--------------------------------------------------+-----------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"53004" 53004]:
{{{
#!CommitTicketReference repository="" revision="53004"
Plugins: Avoid stomping of some variables in `wp-settings.php`.
This changeset decreases the chance of accidentally overwriting some
variables located in `wp-settings.php`, as the chance of overriding a
variable called `$_wp_plugin_file` would be lower than for `$plugin`,
`$mu_plugin` or `$network_plugin`.
Props stevegrunwell, joyously, peterwilsoncc, ocean90, SergeyBiryukov,
jrf, azouamauriac.
Fixes #55432.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55432#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list