Code Duplication    Length = 7-7 lines in 2 locations

_inc/lib/admin-pages/class.jetpack-admin-page.php 1 location

@@ 90-96 (lines=7) @@
87
	}
88
89
	// Enqueue the Jetpack admin stylesheet
90
	function admin_styles() {
91
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
92
93
		wp_enqueue_style( 'jetpack-admin', plugins_url( "css/jetpack-admin{$min}.css", JETPACK__PLUGIN_FILE ), array( 'genericons' ), JETPACK__VERSION . '-20121016' );
94
		wp_style_add_data( 'jetpack-admin', 'rtl', 'replace' );
95
		wp_style_add_data( 'jetpack-admin', 'suffix', $min );
96
	}
97
98
	function is_wp_version_too_old() {
99
		global $wp_version;

class.jetpack.php 1 location

@@ 3096-3102 (lines=7) @@
3093
			do_action( 'jetpack_module_configuration_head_' . $_GET['configure'] );
3094
	}
3095
3096
	function admin_banner_styles() {
3097
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
3098
3099
		wp_enqueue_style( 'jetpack', plugins_url( "css/jetpack-banners{$min}.css", JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION . '-20121016' );
3100
		wp_style_add_data( 'jetpack', 'rtl', 'replace' );
3101
		wp_style_add_data( 'jetpack', 'suffix', $min );
3102
	}
3103
3104
	function plugin_action_links( $actions ) {
3105