Skip to content

Make transients deletion test more robust #74

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

Merged
merged 2 commits into from
Oct 12, 2022

Conversation

schlessera
Copy link
Member

Starting with 6.1, WordPress Core adds a wp_global_styles_* transient right after installation.

This has broken the transient deletion test where it tried to deduce the number of transients deleted by transient delete --all.

This PR makes this test more flexible so that it can calculate the number of expected deletions.

@schlessera schlessera requested a review from a team as a code owner October 12, 2022 00:32
@schlessera schlessera added this to the 2.0.10 milestone Oct 12, 2022
@schlessera schlessera merged commit 69e0f78 into main Oct 12, 2022
@schlessera schlessera deleted the fix/make-transient-delete-test-more-robust branch October 12, 2022 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant