Skip to content

Commit

Permalink
Merge pull request #238 from 10up/fix/enqueue-admin-script-issue
Browse files Browse the repository at this point in the history
enqueuing admin script on footer cause issue with progress
jeffpaul authored Jul 9, 2024
2 parents 630c4b1 + 6d408ac commit faeedf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows-azure-storage-dialog.php
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@
function windows_azure_storage_dialog_scripts( $hook_suffix ) {
$js_ext = ( ! defined( 'SCRIPT_DEBUG' ) || false === SCRIPT_DEBUG ) ? '.min.js' : '.js';
$css_ext = ( ! defined( 'SCRIPT_DEBUG' ) || false === SCRIPT_DEBUG ) ? '.min.css' : '.css';
wp_enqueue_script( 'windows-azure-storage-admin', MSFT_AZURE_PLUGIN_URL . 'js/windows-azure-storage-admin' . $js_ext, array(), MSFT_AZURE_PLUGIN_VERSION, true );
wp_enqueue_script( 'windows-azure-storage-admin', MSFT_AZURE_PLUGIN_URL . 'js/windows-azure-storage-admin' . $js_ext, array(), MSFT_AZURE_PLUGIN_VERSION, false );
wp_enqueue_style( 'windows-azure-storage-style', MSFT_AZURE_PLUGIN_URL . 'css/windows-azure-storage' . $css_ext, array(), MSFT_AZURE_PLUGIN_VERSION );
wp_localize_script(
'windows-azure-storage-admin',

0 comments on commit faeedf0

Please sign in to comment.