Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the edac_check_plugin_active function #411

Conversation

aristath
Copy link
Collaborator

The edac_check_plugin_active function is a simple alias of the is_plugin_active function.
This PR deprecates the function by doing the following:

  • Added a new includes/deprecated.php file and included it.
  • Moved the edac_check_plugin_active function there, simplified it, and added a _deprecated_function call inside it to warn developers that the function was deprecated in v1.6.10 (we can tweak the version number depending on when this PR gets merged and what the next version will be)
  • Replaced all calls to edac_check_plugin_active with is_plugin_active

@SteveJonesDev SteveJonesDev merged commit 42029c0 into equalizedigital:develop Dec 12, 2023
10 checks passed
@SteveJonesDev SteveJonesDev added this to the v1.8.0 milestone Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants