Removed Else Condition Check

This commit is contained in:
Khan M Rashedun-Naby 2018-05-15 00:01:15 +06:00
parent 85eaec1a8a
commit f09fd925e7
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}