You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using is_plugin_active() (or the completely unnecessary edac_check_plugin_active function) is completely unreliable. Some people rename the plugin folders, others use symlinks, etc. Instead of using is_plugin_active() we should check if a plugin is active using other methods. Most plugins define constants, classes or functions that rarely (if ever) change name. Using defined(), class_exists() or function_exists() is a lot more reliable than is_plugin_active().
The text was updated successfully, but these errors were encountered:
Using
is_plugin_active()
(or the completely unnecessaryedac_check_plugin_active function
) is completely unreliable. Some people rename the plugin folders, others use symlinks, etc. Instead of usingis_plugin_active()
we should check if a plugin is active using other methods. Most plugins define constants, classes or functions that rarely (if ever) change name. Usingdefined()
,class_exists()
orfunction_exists()
is a lot more reliable thanis_plugin_active()
.The text was updated successfully, but these errors were encountered: