Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1265-1274 (lines=10) @@
1262
				break;
1263
1264
			// Galleries
1265
			case 'tiled-gallery':
1266
				$options = array(
1267
					'tiled_galleries' => array(
1268
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1269
						'type'               => 'boolean',
1270
						'default'            => 0,
1271
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1272
					),
1273
				);
1274
				break;
1275
1276
			// Gravatar Hovercards
1277
			case 'gravatar-hovercards':
@@ 1331-1340 (lines=10) @@
1328
				break;
1329
1330
			// Markdown
1331
			case 'markdown':
1332
				$options = array(
1333
					'wpcom_publish_comments_with_markdown' => array(
1334
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1335
						'type'               => 'boolean',
1336
						'default'            => 0,
1337
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1338
					),
1339
				);
1340
				break;
1341
1342
			// Mobile Theme
1343
			case 'minileven':
@@ 1375-1384 (lines=10) @@
1372
				break;
1373
1374
			// Monitor
1375
			case 'monitor':
1376
				$options = array(
1377
					'monitor_receive_notifications' => array(
1378
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1379
						'type'               => 'boolean',
1380
						'default'            => 0,
1381
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1382
					),
1383
				);
1384
				break;
1385
1386
			// Post by Email
1387
			case 'post-by-email':