Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1399-1408 (lines=10) @@
1396
				break;
1397
1398
			// Galleries
1399
			case 'tiled-gallery':
1400
				$options = array(
1401
					'tiled_galleries' => array(
1402
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1403
						'type'               => 'boolean',
1404
						'default'            => 0,
1405
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1406
					),
1407
				);
1408
				break;
1409
1410
			// Gravatar Hovercards
1411
			case 'gravatar-hovercards':
@@ 1465-1474 (lines=10) @@
1462
				break;
1463
1464
			// Markdown
1465
			case 'markdown':
1466
				$options = array(
1467
					'wpcom_publish_comments_with_markdown' => array(
1468
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1469
						'type'               => 'boolean',
1470
						'default'            => 0,
1471
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1472
					),
1473
				);
1474
				break;
1475
1476
			// Mobile Theme
1477
			case 'minileven':
@@ 1509-1518 (lines=10) @@
1506
				break;
1507
1508
			// Monitor
1509
			case 'monitor':
1510
				$options = array(
1511
					'monitor_receive_notifications' => array(
1512
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1513
						'type'               => 'boolean',
1514
						'default'            => 0,
1515
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1516
					),
1517
				);
1518
				break;
1519
1520
			// Post by Email
1521
			case 'post-by-email':