Code Duplication    Length = 7-9 lines in 2 locations

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

@@ 97-105 (lines=9) @@
94
	}
95
96
	// Enqueue the Jetpack admin stylesheet
97
	function admin_styles() {
98
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
99
100
		wp_enqueue_style( 'jetpack-admin', plugins_url( "css/jetpack-admin{$min}.css", JETPACK__PLUGIN_FILE ), array( 'genericons' ), JETPACK__VERSION . '-20121016' );
101
		wp_style_add_data( 'jetpack-admin', 'rtl', 'replace' );
102
		wp_style_add_data( 'jetpack-admin', 'suffix', $min );
103
104
		$this->additional_styles();
105
	}
106
107
	function is_wp_version_too_old() {
108
		global $wp_version;

class.jetpack.php 1 location

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