Skip to content

Commit

Permalink
Update wp-to-twitter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 25, 2025
1 parent c61dd13 commit 3b2e1ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/wp-to-twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -988,11 +988,11 @@ function wpt_admin_scripts() {
$base_url = 'js/base.min.js';
$tabs_url = 'js/tabs.min.js';
if ( SCRIPT_DEBUG ) {
$wpt_version .= '-' . wp_rand( 10000, 99999 );
$charcount_url = 'js/charcount.js';
$ajax_url = 'js/ajax.js';
$base_url = 'js/base.js';
$tabs_url = 'js/tabs.js';
$wpt_version .= '-' . wp_rand( 10000, 99999 );
$charcount_url = 'js/charcount.js';
$ajax_url = 'js/ajax.js';
$base_url = 'js/base.js';
$tabs_url = 'js/tabs.js';
}
wp_register_script( 'wpt.charcount', plugins_url( $charcount_url, __FILE__ ), array( 'jquery' ), $wpt_version, true );
if ( 'post' === $current_screen->base || 'xposter-pro_page_wp-to-twitter-schedule' === $current_screen->base ) {
Expand Down

0 comments on commit 3b2e1ea

Please sign in to comment.