Skip to content

Commit

Permalink
update admin enqueue versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rudlinkon committed Aug 1, 2024
1 parent afe48cd commit bd7226a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/Traits/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public function admin_enqueue_scripts( $hook ) {

if ( isset( $hook ) && $hook == 'toplevel_page_eael-settings' ) {
wp_enqueue_style( 'eael-admin-icon-css', EAEL_PLUGIN_URL . 'includes/templates/admin/icons/style.css', false, EAEL_PLUGIN_VERSION );
wp_enqueue_style( 'eael-admin-css', EAEL_PLUGIN_URL . 'includes/templates/admin/eael-dashboard/dist/assets/ea-dashboard.css', false, time() );
wp_enqueue_script( 'eael-admin-dashboard', EAEL_PLUGIN_URL . 'includes/templates/admin/eael-dashboard/dist/assets/ea-dashboard.js', array(), time(), true );
wp_enqueue_style( 'eael-admin-css', EAEL_PLUGIN_URL . 'includes/templates/admin/eael-dashboard/dist/assets/ea-dashboard.css', false, EAEL_PLUGIN_VERSION );
wp_enqueue_script( 'eael-admin-dashboard', EAEL_PLUGIN_URL . 'includes/templates/admin/eael-dashboard/dist/assets/ea-dashboard.js', array(), EAEL_PLUGIN_VERSION, true );
add_filter( 'wp_script_attributes', [ $this, 'add_type_attribute' ] );

//Internationalizing JS string translation
Expand Down

0 comments on commit bd7226a

Please sign in to comment.