class.jetpack-gutenberg.php 1 location
|
@@ 496-500 (lines=5) @@
|
493 |
|
|
494 |
|
// Enqueue styles. |
495 |
|
$style_relative_path = self::get_blocks_directory() . $type . '/view' . ( is_rtl() ? '.rtl' : '' ) . '.css'; |
496 |
|
if ( self::block_has_asset( $style_relative_path ) ) { |
497 |
|
$style_version = self::get_asset_version( $style_relative_path ); |
498 |
|
$view_style = plugins_url( $style_relative_path, JETPACK__PLUGIN_FILE ); |
499 |
|
wp_enqueue_style( 'jetpack-block-' . $type, $view_style, array(), $style_version ); |
500 |
|
} |
501 |
|
|
502 |
|
} |
503 |
|
|
modules/search/class.jetpack-search.php 1 location
|
@@ 286-290 (lines=5) @@
|
283 |
|
} |
284 |
|
|
285 |
|
$style_relative_path = '_inc/build/instant-search/instant-search.min.css'; |
286 |
|
if ( file_exists( JETPACK__PLUGIN_DIR . $script_relative_path ) ) { |
287 |
|
$style_version = self::get_asset_version( $style_relative_path ); |
288 |
|
$style_path = plugins_url( $style_relative_path, JETPACK__PLUGIN_FILE ); |
289 |
|
wp_enqueue_style( 'jetpack-instant-search', $style_path, array(), $style_version ); |
290 |
|
} |
291 |
|
} |
292 |
|
} |
293 |
|
|