Skip to content

Commit 5e6fb4d

Browse files
fix: added version to style enqueue
1 parent 7aa931c commit 5e6fb4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/welcome/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ function() { $this->stackable_content('s-useful-plugins'); }
9595
public function enqueue_dashboard_script( $hook ) {
9696
// For stackable pages, show our admin css.
9797
if ( 'settings_page_stackable' === $hook || stripos( $hook, 'page_stackable' ) !== false || stripos( $hook, 'page_stk' ) !== false ) {
98-
wp_enqueue_style( 'stackable-welcome', plugins_url( 'dist/admin_welcome.css', STACKABLE_FILE ), array() );
99-
wp_enqueue_style( 'ugb-block-editor-css', plugins_url( 'dist/editor_blocks.css', STACKABLE_FILE ), array() );
98+
wp_enqueue_style( 'stackable-welcome', plugins_url( 'dist/admin_welcome.css', STACKABLE_FILE ), array(), STACKABLE_VERSION );
99+
wp_enqueue_style( 'ugb-block-editor-css', plugins_url( 'dist/editor_blocks.css', STACKABLE_FILE ), array(), STACKABLE_VERSION );
100100
do_action( 'stackable_settings_admin_enqueue_styles' );
101101
}
102102

0 commit comments

Comments
 (0)