PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / trunk
Image Optimizer – Compress Images and Convert to WebP or AVIF vtrunk
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
← All changes | vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler.php +3 -8 1.6.5 → trunk View file →
@@ -239,10 +239,8 @@
239 239
240 240 if ( defined( 'WP_CLI' ) && WP_CLI ) {
241 241 WP_CLI::add_command( 'action-scheduler', 'ActionScheduler_WPCLI_Scheduler_command' );
242 242 WP_CLI::add_command( 'action-scheduler', 'ActionScheduler_WPCLI_Clean_Command' );
243 - WP_CLI::add_command( 'action-scheduler action', '\Action_Scheduler\WP_CLI\Action_Command' );
244 - WP_CLI::add_command( 'action-scheduler', '\Action_Scheduler\WP_CLI\System_Command' );
245 243 if ( ! ActionScheduler_DataController::is_migration_complete() && Controller::instance()->allow_migration() ) {
246 244 $command = new Migration_Command();
247 245 $command->register();
248 246 }
@@ -297,9 +295,8 @@
297 295 'ActionScheduler_Logger' => true,
298 296 'ActionScheduler_Abstract_Schema' => true,
299 297 'ActionScheduler_Store' => true,
300 298 'ActionScheduler_TimezoneHelper' => true,
301 - 'ActionScheduler_WPCLI_Command' => true,
302 299 );
303 300
304 301 return isset( $abstracts[ $class ] ) && $abstracts[ $class ];
305 302 }
@@ -342,13 +339,11 @@
342 339 * @return bool
343 340 */
344 341 protected static function is_class_cli( $class ) {
345 342 static $cli_segments = array(
346 - 'QueueRunner' => true,
347 - 'Command' => true,
348 - 'ProgressBar' => true,
349 - '\Action_Scheduler\WP_CLI\Action_Command' => true,
350 - '\Action_Scheduler\WP_CLI\System_Command' => true,
343 + 'QueueRunner' => true,
344 + 'Command' => true,
345 + 'ProgressBar' => true,
351 346 );
352 347
353 348 $segments = explode( '_', $class );
354 349 $segment = isset( $segments[1] ) ? $segments[1] : $class;