[Bug report] Wrong arguments order for 'wp_parse_args'
-
Around line #109 the function ‘wp_parse_args’ is called. According to the WP Codex, the arguments should be 1) the input argument and 2) the default argument. See here: http://codex.ww.wp.xz.cn/Function_Reference/wp_parse_args
Line 109:
$r = wp_parse_args($args, $this->options);Should be:
$r = wp_parse_args($this->options, $args);Assuming that
$this -> optionscontains customised options and$argsall default values.
The topic ‘[Bug report] Wrong arguments order for 'wp_parse_args'’ is closed to new replies.