Latest update breaks downward compatibility
-
The latest plugin update breaks WordPress installations running on old PHP versions:
Parse error: syntax error, unexpected ‘[‘ in /foobar/wp-content/plugins/easy-fancybox/inc/class-easyfancybox-admin.php on line 21
Please replace this line:
public static function register_settings( $args = [] ) {
with this code:
public static function register_settings( $args = array() ) {
I know that the current implementation is valid code with PHP 7.x, but it will not work on older PHP versions, which – apparently – are still around.
Thank you.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Latest update breaks downward compatibility’ is closed to new replies.