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

WPCS fixes #39

Merged
merged 3 commits into from Mar 10, 2024
Merged

WPCS fixes #39

merged 3 commits into from Mar 10, 2024

Conversation

Surbma
Copy link
Contributor

@Surbma Surbma commented May 9, 2021

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development. (WordPress.WP.EnqueuedResourceParameters.NoExplicitVersion)

- Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development. (WordPress.WP.EnqueuedResourceParameters.NoExplicitVersion)
- Detected usage of a possibly undefined superglobal array index: $_POST['option_name']. Use isset() or empty() to check the index exists before using it (WordPress.Security.ValidatedSanitizedInput.InputNotValidated)
- Detected usage of a possibly undefined superglobal array index: $_POST['dismissible_length']. Use isset() or empty() to check the index exists before using it (WordPress.Security.ValidatedSanitizedInput.InputNotValidated)
- WPCS fixes.
# Conflicts:
#	persist-admin-notices-dismissal.php
@w3guy w3guy merged commit 163b868 into w3guy:master Mar 10, 2024
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.

None yet

2 participants