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

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