Skip to content

Commit 7a321f3

Browse files
committed
Fixed.
1 parent 0a13fad commit 7a321f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ReduxCore/inc/class.redux_api.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,10 @@ public static function check_opt_name( $opt_name = "" ) {
446446
self::$sections[ $opt_name ] = array();
447447
self::$priority[ $opt_name ]['sections'] = 1;
448448
}
449+
if ( ! isset( self::$args[ $opt_name ] ) ) {
450+
self::$args[ $opt_name ] = array();
451+
self::$priority[ $opt_name ]['args'] = 1;
452+
}
449453
if ( ! isset( self::$fields[ $opt_name ] ) ) {
450454
self::$fields[ $opt_name ] = array();
451455
self::$priority[ $opt_name ]['fields'] = 1;

0 commit comments

Comments
 (0)