reduxframework / redux-framework

Redux is a simple, truly extensible options framework for WordPress themes and plugins!

Home Page:http://redux.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Roby-Wan-Kenobi opened this issue · 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