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

Add sniff to detect get_option/update_option usage with prefix in name (wpseo_) #222

Closed
moorscode opened this issue Aug 14, 2020 · 1 comment

Comments

@moorscode
Copy link
Contributor

We have our own WPSEO_Options framework. This should be used for all interactions with options.
So any calls to get_option or update_option with a specific prefix should result in an error in the sniffs.

Whenever we want to allow these specifically, sniff-excludes should be used to mark them.

@jrfnl
Copy link
Collaborator

jrfnl commented Sep 22, 2023

Closing as duplicate of #69

@jrfnl jrfnl closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants