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

Fix counting of errors when attempting activations #398

Merged

Conversation

schlessera
Copy link
Member

Fixes #396

Errors during plugin activation were properly detected, but not actually counted, therefore printing an incorrect Success: ... message during the batch operation processing.

By properly counting errors as they are detected, the batch processing will correctly use the success or failure message that is appropriate.

Copy link
Member

@swissspidy swissspidy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the test is a bit redundant, otherwise seems fine

@schlessera schlessera added this to the 2.1.19 milestone Feb 5, 2024
@swissspidy swissspidy merged commit 8071370 into main Feb 5, 2024
36 checks passed
@swissspidy swissspidy deleted the fix/396-incorrect-success-on-php-requirements-mismatch branch February 5, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment