Core using depreciated method
shazzad opened this issue · comments
When WP_DEBUG is enabled, i see following error in my WordPress site:
( ! ) Deprecated: Function Redux::setSections is deprecated since version Redux 4.3! Use Redux::get_sections( $opt_name, $sections ) instead. in
Following are my findings:
1. Follow depreciation method reference is wrong.
It should be - Redux::set_sections( $opt_name, $sections )
2. Core using the depreciated method here.
Correct method should be Redux::set_sections(
Thanks.
Fixes applied. Thanks!