mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of code in the load.php and wp-settings.php, this commit simplifies the handler. 1. In the plugin loader loop, checks if each plugin is incompatible. If yes, adds it to a global list. 2. After all of the plugins loader loops are done, it then handles updating the options: * Removes the plugin(s) from the "active_plugins" option. * Adds the found incompatible plugin(s) to a new option, which will be used in the wp-admin to notify the user.
- Loading branch information
1 parent
63ae03d
commit a6d4aab
Showing
2 changed files
with
83 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters