| @@ 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', |
|
| @@ 309-311 (lines=3) @@ | ||
| 306 | require_once JETPACK__PLUGIN_DIR . '_inc/genericons.php'; |
|
| 307 | jetpack_register_genericons(); |
|
| 308 | ||
| 309 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 310 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 311 | } |
|
| 312 | ||
| 313 | add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) ); |
|
| 314 | } |
|
| @@ 1320-1322 (lines=3) @@ | ||
| 1317 | require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php'; |
|
| 1318 | jetpack_register_social_logos(); |
|
| 1319 | ||
| 1320 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 1321 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 1322 | } |
|
| 1323 | } |
|
| 1324 | ||
| 1325 | /** |
|
| @@ 4086-4093 (lines=8) @@ | ||
| 4083 | function admin_banner_styles() { |
|
| 4084 | $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
|
| 4085 | ||
| 4086 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 4087 | wp_register_style( |
|
| 4088 | 'jetpack-dops-style', |
|
| 4089 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 4090 | array(), |
|
| 4091 | JETPACK__VERSION |
|
| 4092 | ); |
|
| 4093 | } |
|
| 4094 | ||
| 4095 | wp_enqueue_style( |
|
| 4096 | 'jetpack', |
|