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

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