Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1390-1399 (lines=10) @@
1387
				break;
1388
1389
			// Galleries
1390
			case 'tiled-gallery':
1391
				$options = array(
1392
					'tiled_galleries' => array(
1393
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1394
						'type'               => 'boolean',
1395
						'default'            => 0,
1396
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1397
					),
1398
				);
1399
				break;
1400
1401
			// Gravatar Hovercards
1402
			case 'gravatar-hovercards':
@@ 1456-1465 (lines=10) @@
1453
				break;
1454
1455
			// Markdown
1456
			case 'markdown':
1457
				$options = array(
1458
					'wpcom_publish_comments_with_markdown' => array(
1459
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1460
						'type'               => 'boolean',
1461
						'default'            => 0,
1462
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1463
					),
1464
				);
1465
				break;
1466
1467
			// Mobile Theme
1468
			case 'minileven':
@@ 1500-1509 (lines=10) @@
1497
				break;
1498
1499
			// Monitor
1500
			case 'monitor':
1501
				$options = array(
1502
					'monitor_receive_notifications' => array(
1503
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1504
						'type'               => 'boolean',
1505
						'default'            => 0,
1506
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1507
					),
1508
				);
1509
				break;
1510
1511
			// Post by Email
1512
			case 'post-by-email':