diff --git a/includes/functions/comments/_comments_threads.php b/includes/functions/comments/_comments_threads.php index a6782d4b..0d558c44 100644 --- a/includes/functions/comments/_comments_threads.php +++ b/includes/functions/comments/_comments_threads.php @@ -351,7 +351,7 @@ function fictioneer_get_comment_delete_button( $hidden = true ) { return sprintf( $html_start, - $hidden ? '' : 'hidden' + $hidden ? 'hidden' : '' ); } @@ -369,14 +369,14 @@ function fictioneer_get_comment_edit_button( $hidden = true ) { static $html_start = null; if ( is_null( $html_start ) ) { - $html_start = ''; } return sprintf( $html_start, - $hidden ? '' : 'hidden' + $hidden ? 'hidden' : '' ); }