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

Plugin not compatible on PHP <5.5 #34

Open
claudiulodro opened this issue May 29, 2015 · 1 comment
Open

Plugin not compatible on PHP <5.5 #34

claudiulodro opened this issue May 29, 2015 · 1 comment

Comments

@claudiulodro
Copy link

The expression "empty($this->views[current_filter()])" is used numerous times in the plugin. This will cause fatal errors on PHP versions less than 5.5. A simple remedy would be to evaluate current_filter() before calling empty, store the result in a variable, then do "empty($this->views[$current_filter])".

@GaryJones
Copy link

Since WordPress core now requires PHP 5.6, it seems like this could be closed as wontfix.

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

No branches or pull requests

2 participants