Skip to content

Commit

Permalink
Removing uneeded line.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldhuereca committed Aug 26, 2024
1 parent e785a0a commit 9cd35a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/Ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ public static function ajax_save_comment() {
$comment_to_save['comment_approved'] = 0;
}
add_filter( 'comment_text', array( Simple_Comment_Editing::get_instance(), 'add_edit_interface' ), 1000, 2 );
remove_filter( 'option_comment_previously_approved', '__return_false' );
remove_filter( 'option_comment_moderation', '__return_false' );
// Remove Short circuit comment moderation filter.
remove_filter( 'pre_option_comment_moderation', array( static::class, 'short_circuit_comment_moderation' ) );
Expand Down

0 comments on commit 9cd35a0

Please sign in to comment.