Skip to content

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

Open
DArcMattr wants to merge 1 commit into
themeskult:masterfrom
DArcMattr:declare-static
Open

Declare all methods in WPOTools class to be static.#5
DArcMattr wants to merge 1 commit into
themeskult:masterfrom
DArcMattr:declare-static

Conversation

@DArcMattr
Copy link
Copy Markdown

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