Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1496-1505 (lines=10) @@
1493
				break;
1494
1495
			// Galleries
1496
			case 'tiled-gallery':
1497
				$options = array(
1498
					'tiled_galleries' => array(
1499
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1500
						'type'               => 'boolean',
1501
						'default'            => 0,
1502
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1503
					),
1504
				);
1505
				break;
1506
1507
			// Gravatar Hovercards
1508
			case 'gravatar-hovercards':
@@ 1565-1574 (lines=10) @@
1562
				break;
1563
1564
			// Markdown
1565
			case 'markdown':
1566
				$options = array(
1567
					'wpcom_publish_comments_with_markdown' => array(
1568
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1569
						'type'               => 'boolean',
1570
						'default'            => 0,
1571
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1572
					),
1573
				);
1574
				break;
1575
1576
			// Mobile Theme
1577
			case 'minileven':
@@ 1609-1618 (lines=10) @@
1606
				break;
1607
1608
			// Monitor
1609
			case 'monitor':
1610
				$options = array(
1611
					'monitor_receive_notifications' => array(
1612
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1613
						'type'               => 'boolean',
1614
						'default'            => 0,
1615
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1616
					),
1617
				);
1618
				break;
1619
1620
			// Post by Email
1621
			case 'post-by-email':