class.jetpack-gutenberg.php 1 location
|
@@ 500-504 (lines=5) @@
|
| 497 |
|
|
| 498 |
|
// Enqueue styles. |
| 499 |
|
$style_relative_path = self::get_blocks_directory() . $type . '/view' . ( is_rtl() ? '.rtl' : '' ) . '.css'; |
| 500 |
|
if ( self::block_has_asset( $style_relative_path ) ) { |
| 501 |
|
$style_version = self::get_asset_version( $style_relative_path ); |
| 502 |
|
$view_style = plugins_url( $style_relative_path, JETPACK__PLUGIN_FILE ); |
| 503 |
|
wp_enqueue_style( 'jetpack-block-' . $type, $view_style, array(), $style_version ); |
| 504 |
|
} |
| 505 |
|
|
| 506 |
|
} |
| 507 |
|
|
modules/search/class.jetpack-search.php 1 location
|
@@ 277-281 (lines=5) @@
|
| 274 |
|
} |
| 275 |
|
|
| 276 |
|
$style_relative_path = '_inc/build/instant-search/instant-search.min.css'; |
| 277 |
|
if ( file_exists( JETPACK__PLUGIN_DIR . $script_relative_path ) ) { |
| 278 |
|
$style_version = self::get_asset_version( $style_relative_path ); |
| 279 |
|
$style_path = plugins_url( $style_relative_path, JETPACK__PLUGIN_FILE ); |
| 280 |
|
wp_enqueue_style( 'jetpack-instant-search', $style_path, array(), $style_version ); |
| 281 |
|
} |
| 282 |
|
} |
| 283 |
|
} |
| 284 |
|
|