Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 107-113 (lines=7) @@
104
	}
105
106
	// Enqueue the Jetpack admin stylesheet
107
	function admin_styles() {
108
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
109
110
		wp_enqueue_style( 'jetpack-admin', plugins_url( "css/jetpack-admin{$min}.css", JETPACK__PLUGIN_FILE ), array( 'genericons' ), JETPACK__VERSION . '-20121016' );
111
		wp_style_add_data( 'jetpack-admin', 'rtl', 'replace' );
112
		wp_style_add_data( 'jetpack-admin', 'suffix', $min );
113
	}
114
115
	function is_wp_version_too_old() {
116
		global $wp_version;

class.jetpack.php 1 location

@@ 3183-3189 (lines=7) @@
3180
			do_action( 'jetpack_module_configuration_head_' . $_GET['configure'] );
3181
	}
3182
3183
	function admin_banner_styles() {
3184
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
3185
3186
		wp_enqueue_style( 'jetpack', plugins_url( "css/jetpack-banners{$min}.css", JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION . '-20121016' );
3187
		wp_style_add_data( 'jetpack', 'rtl', 'replace' );
3188
		wp_style_add_data( 'jetpack', 'suffix', $min );
3189
	}
3190
3191
	function plugin_action_links( $actions ) {
3192