Code Duplication    Length = 5-5 lines in 3 locations

modules/comments/comments.php 3 locations

@@ 476-480 (lines=5) @@
473
		$comment_meta = array();
474
475
		switch( $this->is_highlander_comment_post() ) {
476
			case 'facebook' :
477
				$comment_meta['hc_post_as']         = 'facebook';
478
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
479
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
480
				break;
481
482
			case 'twitter' :
483
				$comment_meta['hc_post_as']         = 'twitter';
@@ 482-486 (lines=5) @@
479
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
480
				break;
481
482
			case 'twitter' :
483
				$comment_meta['hc_post_as']         = 'twitter';
484
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
485
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
486
				break;
487
488
			case 'wordpress' :
489
				$comment_meta['hc_post_as']         = 'wordpress';
@@ 495-499 (lines=5) @@
492
				$comment_meta['hc_wpcom_id_sig']    = stripslashes( $_POST['hc_wpcom_id_sig'] ); //since 1.9
493
				break;
494
495
			case 'jetpack' :
496
				$comment_meta['hc_post_as']         = 'jetpack';
497
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
498
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
499
				break;
500
501
		}
502