mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -412,9 +412,9 @@ function wp_allow_comment($commentdata) {
|
||||
$dupe .= ") AND comment_content = '$comment_content' LIMIT 1";
|
||||
if ( $wpdb->get_var($dupe) ) {
|
||||
if ( defined('DOING_AJAX') )
|
||||
die( __('Duplicate comment detected; it looks as though you\'ve already said that!') );
|
||||
die( __('Duplicate comment detected; it looks as though you’ve already said that!') );
|
||||
|
||||
wp_die( __('Duplicate comment detected; it looks as though you\'ve already said that!') );
|
||||
wp_die( __('Duplicate comment detected; it looks as though you’ve already said that!') );
|
||||
}
|
||||
|
||||
do_action( 'check_comment_flood', $comment_author_IP, $comment_author_email, $comment_date_gmt );
|
||||
|
||||
Reference in New Issue
Block a user