Skip to content

Added Unit tests - #35

Merged
acato-plugins merged 16 commits into
masterfrom
develop
Jul 24, 2026
Merged

acato-plugins merged 16 commits into
masterfrom
develop

Conversation

@acato-plugins

Copy link
Copy Markdown
Owner

No description provided.

@acato-plugins acato-plugins left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

⚠️ 1 warning


Powered by rtCamp's GitHub Actions Library

Comment thread admin/class-admin.php
@@ -583,16 +592,16 @@ public function flush_caches() {
if ( ! current_user_can( apply_filters( 'wp_rest_cache/settings_capability', 'administrator' ) ) ) {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

⚠️ Warning: Couldn't determine the value passed to the $capability parameter in function call to current_user_can(). Please check if it matches a valid capability. Found: apply_filters( 'wp_rest_cache/settings_capability', 'administrator' ) (WordPress.WP.Capabilities.Undetermined).

@acato-plugins
acato-plugins merged commit c44a473 into master Jul 24, 2026
1 check passed
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