Code Duplication    Length = 5-5 lines in 3 locations

modules/comments/comments.php 3 locations

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