Add sniff to detect get_option
/update_option
usage with prefix in name (wpseo_
)
#222
Labels
get_option
/update_option
usage with prefix in name (wpseo_
)
#222
We have our own
WPSEO_Options
framework. This should be used for all interactions with options.So any calls to
get_option
orupdate_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.
The text was updated successfully, but these errors were encountered: