PluginProbe
User Access Manager / 2.3.2
User Access Manager v2.3.2
2.3.20 2.3.19 2.3.18 2.3.17 2.3.16 2.3.15 2.3.14 2.3.13 trunk 0.6 0.6.1 0.6.2 0.7 0.7 Beta 0.7.0.1 0.8 0.8.0.1 0.8.0.2 0.9 0.9.1 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 1.0 All 136 releases
← All changes | init.php +1 -4 2.3.142.3.2 View file →
@@ -254,12 +254,9 @@
254 254
255 255 $userAccessManager->addActionsAndFilters();
256 256
257 257 //Add the cli interface to the known commands
258 - if (defined('WP_CLI') === true
259 - && WP_CLI === true
260 - && class_exists('WP_CLI_Command')
261 - ) {
258 + if (defined('WP_CLI') === true && WP_CLI === true) {
262 259 $cliWrapper = new WordpressCli();
263 260
264 261 $groupCommand = new GroupCommand($cliWrapper, $userGroupHandler, $userGroupFactory);
265 262 $objectCommand = new ObjectCommand($cliWrapper, $userGroupHandler);