Skip to content

Fix/WPCS input sanitization and WCAG accessibility#92

Merged
jrchamp merged 5 commits intomichaelryanmcneill:masterfrom
jrchamp:fix/wpcs-input-sanitization
Apr 7, 2023
Merged

Fix/WPCS input sanitization and WCAG accessibility#92
jrchamp merged 5 commits intomichaelryanmcneill:masterfrom
jrchamp:fix/wpcs-input-sanitization

Conversation

@jrchamp
Copy link
Collaborator

@jrchamp jrchamp commented Apr 7, 2023

The WordPress-Core standard did not include all the relevant coding style checks, so this now uses and passes with the WordPress standard.

Although sanitize_url() has been redeemed by WordPress as the path forward, WPCS doesn't reflect this change yet, so we'll use esc_url_raw(), which is a viable alias, for now.

@jrchamp jrchamp added the bug label Apr 7, 2023
@jrchamp jrchamp self-assigned this Apr 7, 2023
@jrchamp
Copy link
Collaborator Author

jrchamp commented Apr 7, 2023

Tested successfully in WordPress 6.2.

@jrchamp jrchamp merged commit 012fdcc into michaelryanmcneill:master Apr 7, 2023
@jrchamp jrchamp deleted the fix/wpcs-input-sanitization branch April 7, 2023 20:26
@jrchamp jrchamp linked an issue Aug 25, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHP log message - Undefined array key "attribute_access_fallback"

1 participant