Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 979-988 (lines=10) @@
976
				break;
977
978
			// Galleries
979
			case 'tiled-gallery':
980
				$options = array(
981
					'tiled_galleries' => array(
982
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
983
						'type'               => 'boolean',
984
						'default'            => 0,
985
						'validate_callback'  => __CLASS__ . '::validate_boolean',
986
					),
987
				);
988
				break;
989
990
			// Gravatar Hovercards
991
			case 'gravatar-hovercards':
@@ 1048-1057 (lines=10) @@
1045
				break;
1046
1047
			// Markdown
1048
			case 'markdown':
1049
				$options = array(
1050
					'wpcom_publish_comments_with_markdown' => array(
1051
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1052
						'type'               => 'boolean',
1053
						'default'            => 0,
1054
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1055
					),
1056
				);
1057
				break;
1058
1059
			// Mobile Theme
1060
			case 'minileven':
@@ 1092-1101 (lines=10) @@
1089
				break;
1090
1091
			// Monitor
1092
			case 'monitor':
1093
				$options = array(
1094
					'monitor_receive_notifications' => array(
1095
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1096
						'type'               => 'boolean',
1097
						'default'            => 0,
1098
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1099
					),
1100
				);
1101
				break;
1102
1103
			// Post by Email
1104
			case 'post-by-email':