Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1451-1460 (lines=10) @@
1448
				break;
1449
1450
			// Galleries
1451
			case 'tiled-gallery':
1452
				$options = array(
1453
					'tiled_galleries' => array(
1454
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1455
						'type'               => 'boolean',
1456
						'default'            => 0,
1457
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1458
					),
1459
				);
1460
				break;
1461
1462
			// Gravatar Hovercards
1463
			case 'gravatar-hovercards':
@@ 1517-1526 (lines=10) @@
1514
				break;
1515
1516
			// Markdown
1517
			case 'markdown':
1518
				$options = array(
1519
					'wpcom_publish_comments_with_markdown' => array(
1520
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1521
						'type'               => 'boolean',
1522
						'default'            => 0,
1523
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1524
					),
1525
				);
1526
				break;
1527
1528
			// Mobile Theme
1529
			case 'minileven':
@@ 1561-1570 (lines=10) @@
1558
				break;
1559
1560
			// Monitor
1561
			case 'monitor':
1562
				$options = array(
1563
					'monitor_receive_notifications' => array(
1564
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1565
						'type'               => 'boolean',
1566
						'default'            => 0,
1567
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1568
					),
1569
				);
1570
				break;
1571
1572
			// Post by Email
1573
			case 'post-by-email':