Code Duplication    Length = 10-10 lines in 3 locations

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

@@ 1384-1393 (lines=10) @@
1381
				break;
1382
1383
			// Galleries
1384
			case 'tiled-gallery':
1385
				$options = array(
1386
					'tiled_galleries' => array(
1387
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1388
						'type'               => 'boolean',
1389
						'default'            => 0,
1390
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1391
					),
1392
				);
1393
				break;
1394
1395
			// Gravatar Hovercards
1396
			case 'gravatar-hovercards':
@@ 1450-1459 (lines=10) @@
1447
				break;
1448
1449
			// Markdown
1450
			case 'markdown':
1451
				$options = array(
1452
					'wpcom_publish_comments_with_markdown' => array(
1453
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1454
						'type'               => 'boolean',
1455
						'default'            => 0,
1456
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1457
					),
1458
				);
1459
				break;
1460
1461
			// Mobile Theme
1462
			case 'minileven':
@@ 1494-1503 (lines=10) @@
1491
				break;
1492
1493
			// Monitor
1494
			case 'monitor':
1495
				$options = array(
1496
					'monitor_receive_notifications' => array(
1497
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1498
						'type'               => 'boolean',
1499
						'default'            => 0,
1500
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1501
					),
1502
				);
1503
				break;
1504
1505
			// Post by Email
1506
			case 'post-by-email':