michaelryanmcneill / shibboleth

Shibboleth plugin for WordPress
https://wordpress.org/plugins/shibboleth/
19 stars 11 forks source link

Fix/WPCS input sanitization and WCAG accessibility #92

Closed jrchamp closed 1 year ago

jrchamp commented 1 year ago

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 commented 1 year ago

Tested successfully in WordPress 6.2.