| @@ 278-285 (lines=8) @@ | ||
| 275 | ) |
|
| 276 | ); |
|
| 277 | ||
| 278 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 279 | wp_register_style( |
|
| 280 | 'jetpack-dops-style', |
|
| 281 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 282 | array(), |
|
| 283 | JETPACK__VERSION |
|
| 284 | ); |
|
| 285 | } |
|
| 286 | ||
| 287 | wp_enqueue_style( |
|
| 288 | 'jetpack-idc-css', |
|
| @@ 286-288 (lines=3) @@ | ||
| 283 | require_once( JETPACK__PLUGIN_DIR . '_inc/genericons.php' ); |
|
| 284 | jetpack_register_genericons(); |
|
| 285 | ||
| 286 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 287 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 288 | } |
|
| 289 | ||
| 290 | add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) ); |
|
| 291 | } |
|
| @@ 1162-1163 (lines=2) @@ | ||
| 1159 | require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' ); |
|
| 1160 | jetpack_register_social_logos(); |
|
| 1161 | ||
| 1162 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) |
|
| 1163 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 1164 | } |
|
| 1165 | ||
| 1166 | /** |
|
| @@ 3959-3966 (lines=8) @@ | ||
| 3956 | function admin_banner_styles() { |
|
| 3957 | $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
|
| 3958 | ||
| 3959 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 3960 | wp_register_style( |
|
| 3961 | 'jetpack-dops-style', |
|
| 3962 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 3963 | array(), |
|
| 3964 | JETPACK__VERSION |
|
| 3965 | ); |
|
| 3966 | } |
|
| 3967 | ||
| 3968 | wp_enqueue_style( |
|
| 3969 | 'jetpack', |
|