| @@ 289-296 (lines=8) @@ | ||
| 286 | ) |
|
| 287 | ); |
|
| 288 | ||
| 289 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 290 | wp_register_style( |
|
| 291 | 'jetpack-dops-style', |
|
| 292 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 293 | array(), |
|
| 294 | JETPACK__VERSION |
|
| 295 | ); |
|
| 296 | } |
|
| 297 | ||
| 298 | wp_enqueue_style( |
|
| 299 | 'jetpack-idc-css', |
|
| @@ 311-313 (lines=3) @@ | ||
| 308 | require_once JETPACK__PLUGIN_DIR . '_inc/genericons.php'; |
|
| 309 | jetpack_register_genericons(); |
|
| 310 | ||
| 311 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 312 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 313 | } |
|
| 314 | ||
| 315 | add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) ); |
|
| 316 | } |
|
| @@ 1112-1113 (lines=2) @@ | ||
| 1109 | require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php'; |
|
| 1110 | jetpack_register_social_logos(); |
|
| 1111 | ||
| 1112 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 1113 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 1114 | } |
|
| 1115 | } |
|
| 1116 | ||
| @@ 3601-3608 (lines=8) @@ | ||
| 3598 | function admin_banner_styles() { |
|
| 3599 | $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
|
| 3600 | ||
| 3601 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 3602 | wp_register_style( |
|
| 3603 | 'jetpack-dops-style', |
|
| 3604 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 3605 | array(), |
|
| 3606 | JETPACK__VERSION |
|
| 3607 | ); |
|
| 3608 | } |
|
| 3609 | ||
| 3610 | wp_enqueue_style( |
|
| 3611 | 'jetpack', |
|