Code Duplication    Length = 3-5 lines in 3 locations

_inc/lib/admin-pages/class.jetpack-admin-page.php 3 locations

@@ 329-333 (lines=5) @@
326
					<li class="jp-footer__link-item">
327
						<a href="<?php echo esc_url( $jetpack_admin_url . '#/privacy' ); ?>" rel="noopener noreferrer" title="<?php esc_html_e( "Automattic's Privacy Policy", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Privacy', 'Navigation item', 'jetpack' ); ?></a>
328
					</li>
329
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_sites_page' ) ) { ?>
330
						<li class="jp-footer__link-item">
331
							<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack' ) ); ?>" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Network Sites', 'Navigation item', 'jetpack' ); ?></a>
332
						</li>
333
					<?php } ?>
334
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_settings_page' ) ) { ?>
335
						<li class="jp-footer__link-item">
336
							<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack-settings' ) ); ?>" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Network Settings', 'Navigation item', 'jetpack' ); ?></a>
@@ 334-338 (lines=5) @@
331
							<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack' ) ); ?>" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Network Sites', 'Navigation item', 'jetpack' ); ?></a>
332
						</li>
333
					<?php } ?>
334
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_settings_page' ) ) { ?>
335
						<li class="jp-footer__link-item">
336
							<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack-settings' ) ); ?>" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Network Settings', 'Navigation item', 'jetpack' ); ?></a>
337
						</li>
338
					<?php } ?>
339
					<?php if ( current_user_can( 'manage_options' ) ) { ?>
340
						<li class="jp-footer__link-item">
341
							<a href="<?php echo esc_url( admin_url() . 'admin.php?page=jetpack_modules' ); ?>" title="<?php esc_html_e( "Access the full list of Jetpack modules available on your site.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Modules', 'Navigation item', 'jetpack' ); ?></a>
@@ 280-282 (lines=3) @@
277
								?>
278
								<span class="dops-button-group">
279
									<?php
280
									if ( current_user_can( 'jetpack_network_sites_page' ) ) {
281
										?>
282
										<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack' ) ); ?>" type="button" class="<?php echo esc_attr( $highlight_current_sites ); ?> dops-button is-compact" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>"><?php echo esc_html_x( 'Sites', 'Navigation item', 'jetpack' ); ?></a>
283
										<?php
284
									} if ( current_user_can( 'jetpack_network_settings_page' ) ) {
285
										?>