Skip to content

Commit

Permalink
Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dovy committed Jul 8, 2015
1 parent 0a13fad commit 7a321f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ReduxCore/inc/class.redux_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,10 @@ public static function check_opt_name( $opt_name = "" ) {
self::$sections[ $opt_name ] = array();
self::$priority[ $opt_name ]['sections'] = 1;
}
if ( ! isset( self::$args[ $opt_name ] ) ) {
self::$args[ $opt_name ] = array();
self::$priority[ $opt_name ]['args'] = 1;
}
if ( ! isset( self::$fields[ $opt_name ] ) ) {
self::$fields[ $opt_name ] = array();
self::$priority[ $opt_name ]['fields'] = 1;
Expand Down

0 comments on commit 7a321f3

Please sign in to comment.