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 errors detected by Plugin Checker #238

Merged
merged 7 commits into from
Aug 2, 2023
Merged

Conversation

mukeshpanchal27
Copy link
Member

This pull request addresses several issues detected by the Plugin Checker when validating the plugin itself. The changes in this PR aim to resolve potential problems and improve overall code quality.

Please refer to #224 (comment) for a detailed list of errors identified by the Plugin Checker during the validation process.

Checklist:

@mukeshpanchal27 mukeshpanchal27 marked this pull request as ready for review August 1, 2023 04:46
@mukeshpanchal27
Copy link
Member Author

@felixarntz @joemcgill In d7012f4 i added ignore for warning file_get_contents() is discouraged. Use wp_remote_get() for remote URLs instead. Do we need to update function?

templates/admin-page.php Outdated Show resolved Hide resolved
templates/admin-page.php Outdated Show resolved Hide resolved
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

@mukeshpanchal27 Just a minor suggestion to clarify the comment about nonce verification, since it should happen, but it does already happen elsewhere (in Admin_AJAX class).

Other than that, looks good except for @joemcgill's existing point.

includes/Checker/AJAX_Runner.php Outdated Show resolved Hide resolved
includes/Checker/AJAX_Runner.php Outdated Show resolved Hide resolved
includes/Checker/AJAX_Runner.php Outdated Show resolved Hide resolved
templates/admin-page.php Show resolved Hide resolved
templates/admin-page.php Show resolved Hide resolved
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

Thank you for the update @mukeshpanchal27, LGTM!

@felixarntz felixarntz merged commit 0bf1608 into trunk Aug 2, 2023
13 checks passed
@felixarntz felixarntz deleted the fix/plugin-checker-issue branch August 2, 2023 15:30
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.

4 participants