reduxframework/redux-framework

Problems with $args used as array and string in class Redux_WordPress_Data when you call a callback

Roby-Wan-Kenobi opened this issue · 0 comments

would you please correct line 470 in redux-framework/redux-core/inc/classes/class-redux-wordpress-data.php from


if ( ! empty( $args ) && function_exists( $args ) ) {

to


if ( ! empty( $args ) && (is_string( $args )) && function_exists( $args ) ) {

thanks