| @@ 282-284 (lines=3) @@ | ||
| 279 | require_once( JETPACK__PLUGIN_DIR . '_inc/genericons.php' ); |
|
| 280 | jetpack_register_genericons(); |
|
| 281 | ||
| 282 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 283 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 284 | } |
|
| 285 | ||
| 286 | add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) ); |
|
| 287 | } |
|
| @@ 1008-1009 (lines=2) @@ | ||
| 1005 | require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' ); |
|
| 1006 | jetpack_register_social_logos(); |
|
| 1007 | ||
| 1008 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) |
|
| 1009 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 1010 | } |
|
| 1011 | ||
| 1012 | /** |
|
| @@ 3751-3758 (lines=8) @@ | ||
| 3748 | function admin_banner_styles() { |
|
| 3749 | $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
|
| 3750 | ||
| 3751 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 3752 | wp_register_style( |
|
| 3753 | 'jetpack-dops-style', |
|
| 3754 | plugins_url( '_inc/build/admin.dops-style.css', JETPACK__PLUGIN_FILE ), |
|
| 3755 | array(), |
|
| 3756 | JETPACK__VERSION |
|
| 3757 | ); |
|
| 3758 | } |
|
| 3759 | ||
| 3760 | wp_enqueue_style( |
|
| 3761 | 'jetpack', |
|
| @@ 270-277 (lines=8) @@ | ||
| 267 | ) |
|
| 268 | ); |
|
| 269 | ||
| 270 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 271 | wp_register_style( |
|
| 272 | 'jetpack-dops-style', |
|
| 273 | plugins_url( '_inc/build/admin.dops-style.css', JETPACK__PLUGIN_FILE ), |
|
| 274 | array(), |
|
| 275 | JETPACK__VERSION |
|
| 276 | ); |
|
| 277 | } |
|
| 278 | ||
| 279 | wp_enqueue_style( |
|
| 280 | 'jetpack-idc-css', |
|