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

Improve PHPCS WordPress compliance #330

Merged
merged 6 commits into from
Jun 26, 2024
Merged

Improve PHPCS WordPress compliance #330

merged 6 commits into from
Jun 26, 2024

Conversation

akirk
Copy link
Owner

@akirk akirk commented Jun 22, 2024

This addresses a number of review comments by @apermo. Thank you!

We also discussed that get_transient should be enough for caching, and then I filed WordPress/WordPress-Coding-Standards#2463. As long as that issue is open, I'll keep the doubling of wp_cache_get and get_transient introduced in #329.

We also ran into WordPress/WordPress-Coding-Standards#2299, I preemptively left the phpcs:ignore WordPress.Security.NonceVerification.Recommended there.

@akirk akirk merged commit aa25554 into main Jun 26, 2024
34 checks passed
@akirk akirk deleted the improve-phpcs-compliancy branch June 26, 2024 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant