| @@ 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 | } |
|
| @@ 288-295 (lines=8) @@ | ||
| 285 | ) |
|
| 286 | ); |
|
| 287 | ||
| 288 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 289 | wp_register_style( |
|
| 290 | 'jetpack-dops-style', |
|
| 291 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 292 | array(), |
|
| 293 | JETPACK__VERSION |
|
| 294 | ); |
|
| 295 | } |
|
| 296 | ||
| 297 | wp_enqueue_style( |
|
| 298 | 'jetpack-idc-css', |
|
| @@ 1233-1234 (lines=2) @@ | ||
| 1230 | require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php'; |
|
| 1231 | jetpack_register_social_logos(); |
|
| 1232 | ||
| 1233 | if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) { |
|
| 1234 | wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION ); |
|
| 1235 | } |
|
| 1236 | } |
|
| 1237 | ||
| @@ 3997-4004 (lines=8) @@ | ||
| 3994 | function admin_banner_styles() { |
|
| 3995 | $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
|
| 3996 | ||
| 3997 | if ( ! wp_style_is( 'jetpack-dops-style' ) ) { |
|
| 3998 | wp_register_style( |
|
| 3999 | 'jetpack-dops-style', |
|
| 4000 | plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ), |
|
| 4001 | array(), |
|
| 4002 | JETPACK__VERSION |
|
| 4003 | ); |
|
| 4004 | } |
|
| 4005 | ||
| 4006 | wp_enqueue_style( |
|
| 4007 | 'jetpack', |
|