Code Duplication    Length = 10-10 lines in 3 locations

_inc/lib/class.core-rest-api-endpoints.php 3 locations

@@ 961-970 (lines=10) @@
958
				break;
959
960
			// Galleries
961
			case 'tiled-gallery':
962
				$options = array(
963
					'tiled_galleries' => array(
964
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
965
						'type'               => 'boolean',
966
						'default'            => 0,
967
						'validate_callback'  => __CLASS__ . '::validate_boolean',
968
					),
969
				);
970
				break;
971
972
			// Gravatar Hovercards
973
			case 'gravatar-hovercards':
@@ 1030-1039 (lines=10) @@
1027
				break;
1028
1029
			// Markdown
1030
			case 'markdown':
1031
				$options = array(
1032
					'wpcom_publish_comments_with_markdown' => array(
1033
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1034
						'type'               => 'boolean',
1035
						'default'            => 0,
1036
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1037
					),
1038
				);
1039
				break;
1040
1041
			// Mobile Theme
1042
			case 'minileven':
@@ 1074-1083 (lines=10) @@
1071
				break;
1072
1073
			// Monitor
1074
			case 'monitor':
1075
				$options = array(
1076
					'monitor_receive_notifications' => array(
1077
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1078
						'type'               => 'boolean',
1079
						'default'            => 0,
1080
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1081
					),
1082
				);
1083
				break;
1084
1085
			// Post by Email
1086
			case 'post-by-email':