Permalink
Browse files

Remove bug in wfx_debug()

Ah, the irony - debugging the debug function!!
  • Loading branch information...
Jonnyauk committed Sep 6, 2017
1 parent 828d3a0 commit 8e74634ddca3c88243ee645f098982b58ce2bce8
Showing with 0 additions and 1 deletion.
  1. +0 −1 wf-includes/wf-helper-functions.php
@@ -959,7 +959,6 @@ function wf_debug( $input='', $label='', $admin_only=true, $role=false, $id=fals
$o .= ( $input === true ) ? 'true' : 'false';
$o .= '</pre>';
} elseif ( $input == 0 ){
} elseif ( is_numeric( $input ) && $input == 0 ) {
$o .= '<pre>';

0 comments on commit 8e74634

Please sign in to comment.