Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1472-1481 (lines=10) @@
1469
				break;
1470
1471
			// Galleries
1472
			case 'tiled-gallery':
1473
				$options = array(
1474
					'tiled_galleries' => array(
1475
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1476
						'type'               => 'boolean',
1477
						'default'            => 0,
1478
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1479
					),
1480
				);
1481
				break;
1482
1483
			// Gravatar Hovercards
1484
			case 'gravatar-hovercards':
@@ 1541-1550 (lines=10) @@
1538
				break;
1539
1540
			// Markdown
1541
			case 'markdown':
1542
				$options = array(
1543
					'wpcom_publish_comments_with_markdown' => array(
1544
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1545
						'type'               => 'boolean',
1546
						'default'            => 0,
1547
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1548
					),
1549
				);
1550
				break;
1551
1552
			// Mobile Theme
1553
			case 'minileven':
@@ 1585-1594 (lines=10) @@
1582
				break;
1583
1584
			// Monitor
1585
			case 'monitor':
1586
				$options = array(
1587
					'monitor_receive_notifications' => array(
1588
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1589
						'type'               => 'boolean',
1590
						'default'            => 0,
1591
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1592
					),
1593
				);
1594
				break;
1595
1596
			// Post by Email
1597
			case 'post-by-email':