| @@ 287-294 (lines=8) @@ | ||
| 284 | ) |
|
| 285 | ); |
|
| 286 | ||
| 287 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 288 | wp_register_style( |
|
| 289 | 'jetpack-dops-style', |
|
| 290 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 291 | array(), |
|
| 292 | JETPACK__VERSION |
|
| 293 | ); |
|
| 294 | } |
|
| 295 | ||
| 296 | wp_enqueue_style( |
|
| 297 | 'jetpack-idc-css', |
|
| @@ 308-310 (lines=3) @@ | ||
| 305 | require_once JETPACK__PLUGIN_DIR . '_inc/genericons.php'; |
|
| 306 | jetpack_register_genericons(); |
|
| 307 | ||
| 308 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 309 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 310 | } |
|
| 311 | ||
| 312 | add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) ); |
|
| 313 | } |
|
| @@ 1110-1111 (lines=2) @@ | ||
| 1107 | require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php'; |
|
| 1108 | jetpack_register_social_logos(); |
|
| 1109 | ||
| 1110 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 1111 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 1112 | } |
|
| 1113 | } |
|
| 1114 | ||
| @@ 3915-3922 (lines=8) @@ | ||
| 3912 | function admin_banner_styles() { |
|
| 3913 | $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
|
| 3914 | ||
| 3915 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 3916 | wp_register_style( |
|
| 3917 | 'jetpack-dops-style', |
|
| 3918 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 3919 | array(), |
|
| 3920 | JETPACK__VERSION |
|
| 3921 | ); |
|
| 3922 | } |
|
| 3923 | ||
| 3924 | wp_enqueue_style( |
|
| 3925 | 'jetpack', |
|