Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1378-1387 (lines=10) @@
1375
				break;
1376
1377
			// Galleries
1378
			case 'tiled-gallery':
1379
				$options = array(
1380
					'tiled_galleries' => array(
1381
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1382
						'type'               => 'boolean',
1383
						'default'            => 0,
1384
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1385
					),
1386
				);
1387
				break;
1388
1389
			// Gravatar Hovercards
1390
			case 'gravatar-hovercards':
@@ 1444-1453 (lines=10) @@
1441
				break;
1442
1443
			// Markdown
1444
			case 'markdown':
1445
				$options = array(
1446
					'wpcom_publish_comments_with_markdown' => array(
1447
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1448
						'type'               => 'boolean',
1449
						'default'            => 0,
1450
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1451
					),
1452
				);
1453
				break;
1454
1455
			// Mobile Theme
1456
			case 'minileven':
@@ 1488-1497 (lines=10) @@
1485
				break;
1486
1487
			// Monitor
1488
			case 'monitor':
1489
				$options = array(
1490
					'monitor_receive_notifications' => array(
1491
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1492
						'type'               => 'boolean',
1493
						'default'            => 0,
1494
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1495
					),
1496
				);
1497
				break;
1498
1499
			// Post by Email
1500
			case 'post-by-email':