Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1479-1488 (lines=10) @@
1476
				break;
1477
1478
			// Galleries
1479
			case 'tiled-gallery':
1480
				$options = array(
1481
					'tiled_galleries' => array(
1482
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1483
						'type'               => 'boolean',
1484
						'default'            => 0,
1485
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1486
					),
1487
				);
1488
				break;
1489
1490
			// Gravatar Hovercards
1491
			case 'gravatar-hovercards':
@@ 1548-1557 (lines=10) @@
1545
				break;
1546
1547
			// Markdown
1548
			case 'markdown':
1549
				$options = array(
1550
					'wpcom_publish_comments_with_markdown' => array(
1551
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1552
						'type'               => 'boolean',
1553
						'default'            => 0,
1554
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1555
					),
1556
				);
1557
				break;
1558
1559
			// Mobile Theme
1560
			case 'minileven':
@@ 1592-1601 (lines=10) @@
1589
				break;
1590
1591
			// Monitor
1592
			case 'monitor':
1593
				$options = array(
1594
					'monitor_receive_notifications' => array(
1595
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1596
						'type'               => 'boolean',
1597
						'default'            => 0,
1598
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1599
					),
1600
				);
1601
				break;
1602
1603
			// Post by Email
1604
			case 'post-by-email':