Removed Else Condition Check
This commit is contained in:
parent
85eaec1a8a
commit
f09fd925e7
|
@ -1714,10 +1714,10 @@ function wc_print_r( $expression, $return = false ) {
|
|||
$res = call_user_func_array( $alternative['func'], $alternative['args'] );
|
||||
if ( $return ) {
|
||||
return $res;
|
||||
} else {
|
||||
echo $res; // WPCS: XSS ok.
|
||||
return true;
|
||||
}
|
||||
|
||||
echo $res; // WPCS: XSS ok.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue