Code Duplication    Length = 3-5 lines in 3 locations

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

@@ 294-296 (lines=3) @@
291
								?>
292
								<span class="dops-button-group">
293
									<?php
294
									if ( current_user_can( 'jetpack_network_sites_page' ) ) {
295
										?>
296
										<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>
297
										<?php
298
									} if ( current_user_can( 'jetpack_network_settings_page' ) ) {
299
										?>
@@ 350-354 (lines=5) @@
347
					<li class="jp-footer__link-item">
348
						<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>
349
					</li>
350
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_sites_page' ) ) { ?>
351
						<li class="jp-footer__link-item">
352
							<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>
353
						</li>
354
					<?php } ?>
355
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_settings_page' ) ) { ?>
356
						<li class="jp-footer__link-item">
357
							<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>
@@ 355-359 (lines=5) @@
352
							<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>
353
						</li>
354
					<?php } ?>
355
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_settings_page' ) ) { ?>
356
						<li class="jp-footer__link-item">
357
							<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>
358
						</li>
359
					<?php } ?>
360
					<?php if ( current_user_can( 'manage_options' ) ) { ?>
361
						<li class="jp-footer__link-item">
362
							<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>