Code Duplication    Length = 5-5 lines in 3 locations

modules/comments/comments.php 3 locations

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