Code Duplication    Length = 12-12 lines in 2 locations

src/wp-includes/option.php 2 locations

@@ 1749-1760 (lines=12) @@
1746
		'description'  => __( 'Site tagline.' ),
1747
	) );
1748
1749
	if ( ! is_multisite() ) {
1750
		register_setting( 'general', 'siteurl', array(
1751
			'show_in_rest' => array(
1752
				'name'    => 'url',
1753
				'schema'  => array(
1754
					'format' => 'uri',
1755
				),
1756
			),
1757
			'type'         => 'string',
1758
			'description'  => __( 'Site URL.' ),
1759
		) );
1760
	}
1761
1762
	if ( ! is_multisite() ) {
1763
		register_setting( 'general', 'admin_email', array(
@@ 1762-1773 (lines=12) @@
1759
		) );
1760
	}
1761
1762
	if ( ! is_multisite() ) {
1763
		register_setting( 'general', 'admin_email', array(
1764
			'show_in_rest' => array(
1765
				'name'    => 'email',
1766
				'schema'  => array(
1767
					'format' => 'email',
1768
				),
1769
			),
1770
			'type'         => 'string',
1771
			'description'  => __( 'This address is used for admin purposes, like new user notification.' ),
1772
		) );
1773
	}
1774
1775
	register_setting( 'general', 'timezone_string', array(
1776
		'show_in_rest' => array(