Code Duplication    Length = 5-5 lines in 3 locations

modules/comments/comments.php 3 locations

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