Code Duplication    Length = 5-5 lines in 3 locations

modules/comments/comments.php 3 locations

@@ 453-457 (lines=5) @@
450
		$comment_meta = array();
451
452
		switch( $this->is_highlander_comment_post() ) {
453
			case 'facebook' :
454
				$comment_meta['hc_post_as']         = 'facebook';
455
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
456
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
457
				break;
458
459
			case 'twitter' :
460
				$comment_meta['hc_post_as']         = 'twitter';
@@ 459-463 (lines=5) @@
456
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
457
				break;
458
459
			case 'twitter' :
460
				$comment_meta['hc_post_as']         = 'twitter';
461
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
462
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
463
				break;
464
465
			case 'wordpress' :
466
				$comment_meta['hc_post_as']         = 'wordpress';
@@ 472-476 (lines=5) @@
469
				$comment_meta['hc_wpcom_id_sig']    = stripslashes( $_POST['hc_wpcom_id_sig'] ); //since 1.9
470
				break;
471
472
			case 'jetpack' :
473
				$comment_meta['hc_post_as']         = 'jetpack';
474
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
475
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
476
				break;
477
478
		}
479