We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting this:
PHP Parse error: syntax error, unexpected '[' in /var/www/admin.exploreveg.org/wp-content/plugins/credit-tracker/options.php on line 97
Line 97 for me is:
if (in_array($screen->id, [$plugin_screen_hook_suffix, 'attachment', 'upload'])) { wp_enqueue_script(CT_SLUG . '-admin-script', plugins_url('js/ct-admin.js', __FILE__), array('jquery'), CT_VERSION); }
The text was updated successfully, but these errors were encountered:
php --version PHP 5.3.10-1ubuntu3.13 with Suhosin-Patch (cli) (built: Jul 7 2014 18:54:55) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Sorry, something went wrong.
I hotfixed this by editing the file and reverting back to the old if statement:
if ($screen->id == $plugin_screen_hook_suffix) {
Hi Dave,
Thank you for your feedback & sorry for the inconvenience!!! This issue has been resolved now. Please consider to upgrade to the version 1.0.1 http://wordpress.org/plugins/credit-tracker/
Best Regards, R.Brown
r-brown
No branches or pull requests
I'm getting this:
Line 97 for me is:
The text was updated successfully, but these errors were encountered: