Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1413-1422 (lines=10) @@
1410
				break;
1411
1412
			// Galleries
1413
			case 'tiled-gallery':
1414
				$options = array(
1415
					'tiled_galleries' => array(
1416
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1417
						'type'               => 'boolean',
1418
						'default'            => 0,
1419
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1420
					),
1421
				);
1422
				break;
1423
1424
			// Gravatar Hovercards
1425
			case 'gravatar-hovercards':
@@ 1479-1488 (lines=10) @@
1476
				break;
1477
1478
			// Markdown
1479
			case 'markdown':
1480
				$options = array(
1481
					'wpcom_publish_comments_with_markdown' => array(
1482
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1483
						'type'               => 'boolean',
1484
						'default'            => 0,
1485
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1486
					),
1487
				);
1488
				break;
1489
1490
			// Mobile Theme
1491
			case 'minileven':
@@ 1523-1532 (lines=10) @@
1520
				break;
1521
1522
			// Monitor
1523
			case 'monitor':
1524
				$options = array(
1525
					'monitor_receive_notifications' => array(
1526
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1527
						'type'               => 'boolean',
1528
						'default'            => 0,
1529
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1530
					),
1531
				);
1532
				break;
1533
1534
			// Post by Email
1535
			case 'post-by-email':