push( '' === $prefix ? $message : $prefix . $message ); } } /** * Load the global \WP_CLI shim class routing to this shim — ONLY if * the real one isn't present (i.e. we're not under actual wp-cli). */ private static function ensure_class(): void { if ( class_exists( '\\WP_CLI', false ) ) { return; } require_once __DIR__ . '/wp-cli-shim-class.php'; } }