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

Declare all methods in WPOTools class to be static. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DArcMattr
Copy link

New code standards present in WordPress 4.3 require that PHP Classes conform to PHP 5 standards. All the methods that belong to the WPOTools class can be called statically, so I declared them all explicitly.

webgrrrl added a commit to webgrrrl/wp-o-matic that referenced this pull request Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant