WPTT / WPThemeReview

PHP_CodeSniffer rules (sniffs) to enforce WordPress theme review coding conventions
MIT License
207 stars 38 forks source link

Create a whitelist for restricted functions #85

Open grappler opened 7 years ago

grappler commented 7 years ago

We would like to allow the use of certain functions to be used in certain places without allowing the function everywhere.

The concrete example is the use of base64_encode and base64_decode in Freemius_Api_Base

https://github.com/Freemius/wordpress-sdk/blob/master/includes/sdk/FreemiusBase.php#L156-L186

dingo-d commented 5 years ago

@grappler I know it's been 3 years, but is this still relevant? Doing a bit of a spring cleaning so I'd just like to know the status of this 😄