[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 21 17:35:27 UTC 2022
#55432: The $plugin parameter of the "plugin_loaded" action can be polluted by
individual plugins
----------------------------+------------------------------
Reporter: stevegrunwell | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by joyously):
WP has lots of global variables that other code can pollute. That's why
the best practices page says to prefix everything:
https://developer.wordpress.org/plugins/plugin-basics/best-practices
/#prefix-everything
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55432#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list