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 check for add_..._page() functions + unit tests. #13

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Jul 11, 2016

Closes #11.

[Edit] Changed over to use WordPress_Sniffs_Functions_FunctionRestrictionsSniff as the base class rather than Generic_Sniffs_PHP_ForbiddenFunctionsSniff.
This allows for better error messages, keeping it more in line with what people have come to expect from Theme Check.

@jrfnl jrfnl force-pushed the feature/issue-11-admin-menu-page-functions branch 4 times, most recently from 44c37b2 to 5ba7d46 Compare July 13, 2016 00:59
@grappler grappler force-pushed the feature/theme-review-sniffs branch from b8a5e09 to 5dd4758 Compare July 14, 2016 12:51
@grappler grappler force-pushed the feature/issue-11-admin-menu-page-functions branch from 5ba7d46 to 0984dbd Compare July 14, 2016 13:02
@jrfnl jrfnl force-pushed the feature/issue-11-admin-menu-page-functions branch from 0984dbd to 4a01fbf Compare July 14, 2016 22:40
@grappler grappler merged commit 2344637 into feature/theme-review-sniffs Jul 14, 2016
@grappler grappler deleted the feature/issue-11-admin-menu-page-functions branch July 14, 2016 22:45
@jrfnl jrfnl added this to the 0.1.0 milestone Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants