You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Apermo.WordPress.RequireRestPermissionCallback
sniff: flags register_rest_route() calls without a permission_callback in the args array. Missing
callbacks leave REST endpoints publicly accessible.
Apermo.PHP.NoFilterSanitizeString sniff: flags
deprecated FILTER_SANITIZE_STRING, FILTER_SANITIZE_STRIPPED, and FILTER_SANITIZE_MAGIC_QUOTES constants. Suggests sanitize_text_field() or wp_slash() instead.
Apermo.WordPress.RequireOptionAutoload sniff: warns
when add_option() or update_option() is called
without an explicit autoload parameter. Omitting it
defaults to autoloading on every page load.