| @@ 286-293 (lines=8) @@ | ||
| 283 | ) |
|
| 284 | ); |
|
| 285 | ||
| 286 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 287 | wp_register_style( |
|
| 288 | 'jetpack-dops-style', |
|
| 289 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 290 | array(), |
|
| 291 | JETPACK__VERSION |
|
| 292 | ); |
|
| 293 | } |
|
| 294 | ||
| 295 | wp_enqueue_style( |
|
| 296 | '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 | } |
|
| @@ 1121-1122 (lines=2) @@ | ||
| 1118 | require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php'; |
|
| 1119 | jetpack_register_social_logos(); |
|
| 1120 | ||
| 1121 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 1122 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 1123 | } |
|
| 1124 | } |
|
| 1125 | ||
| @@ 3902-3909 (lines=8) @@ | ||
| 3899 | function admin_banner_styles() { |
|
| 3900 | $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
|
| 3901 | ||
| 3902 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 3903 | wp_register_style( |
|
| 3904 | 'jetpack-dops-style', |
|
| 3905 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 3906 | array(), |
|
| 3907 | JETPACK__VERSION |
|
| 3908 | ); |
|
| 3909 | } |
|
| 3910 | ||
| 3911 | wp_enqueue_style( |
|
| 3912 | 'jetpack', |
|