Skip to content

Commit

Permalink
fix another duplicate handle
Browse files Browse the repository at this point in the history
  • Loading branch information
tn3rb committed Jul 28, 2022
1 parent 9b36b5e commit 55a7373
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion admin_pages/messages/Messages_Admin_Page.core.php
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ public function load_scripts_styles_settings()
[],
EVENT_ESPRESSO_VERSION
);
wp_enqueue_style('ee-text-links');
wp_enqueue_style('ee-text-links-css');
wp_enqueue_style('ee-message-settings');
wp_enqueue_script('ee-messages-settings');
}
Expand Down
5 changes: 3 additions & 2 deletions admin_pages/payments/Payments_Admin_Page.core.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ public function load_scripts_styles()
{
// styles
wp_enqueue_style('espresso-ui-theme');
wp_enqueue_style('ee-text-links-css');
wp_register_style(
'espresso_payments',
EE_PAYMENTS_ASSETS_URL . 'ee-payments.css',
Expand All @@ -250,7 +251,7 @@ public function load_scripts_styles()
);
// scripts
wp_enqueue_script('ee_admin_js');
wp_enqueue_script('ee-text-links');
wp_enqueue_script('ee-text-links-js');
wp_enqueue_script(
'espresso_payments',
EE_PAYMENTS_ASSETS_URL . 'espresso_payments_admin.js',
Expand All @@ -264,7 +265,7 @@ public function load_scripts_styles()
public function load_scripts_styles_default()
{
wp_enqueue_style('espresso_payments');
wp_enqueue_style('ee-text-links');
wp_enqueue_style('ee-text-links-css');
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class EspressoLegacyAdminAssetManager extends AssetManager

const JS_HANDLE_PARSE_URI = 'ee-parse-uri';

const JS_HANDLE_EE_TEXT_LINKS = 'ee-text-links';
const JS_HANDLE_EE_TEXT_LINKS = 'ee-text-links-js';

const JS_HANDLE_EE_SERIALIZE_FULL_ARRAY = 'ee-serialize-full-array';

Expand All @@ -47,7 +47,7 @@ class EspressoLegacyAdminAssetManager extends AssetManager

const CSS_HANDLE_EE_JOYRIDE = 'ee-joyride-css';

const CSS_HANDLE_EE_TEXT_LINKS = 'ee-text-links';
const CSS_HANDLE_EE_TEXT_LINKS = 'ee-text-links-css';

const CSS_HANDLE_EE_UI_THEME = 'espresso-ui-theme';

Expand Down

0 comments on commit 55a7373

Please sign in to comment.