Skip to content

Commit

Permalink
Updates version number for dashboard-clearing purposes.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanJercich committed Jun 14, 2024
1 parent 9a0455e commit c5f12d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Otis_Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ class Otis_Dashboard

public function otis_dashboard_scripts() {
wp_enqueue_media();
wp_register_script( 'otis-js', plugins_url( '../dist/otis.js', __FILE__ ), [], '2.1', true );
wp_register_script( 'otis-js', plugins_url( '../dist/otis.js', __FILE__ ), [], '2.5.1', true );
wp_localize_script( 'otis-js', 'otisDash', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'admin_url' => admin_url() ) );

wp_enqueue_script( 'otis-js' );
wp_enqueue_style( 'otis-styles', plugins_url( '../dist/otis.css', __FILE__ ), [], '2.1' );
wp_enqueue_style( 'otis-styles', plugins_url( '../dist/otis.css', __FILE__ ), [], '2.5.1' );
}

public function otis_dashboard_page() {
Expand Down

0 comments on commit c5f12d3

Please sign in to comment.