Fix another TODO to include admin styles for the modal
This commit is contained in:
parent
35ad51456c
commit
d5c4f794c6
|
@ -25,7 +25,9 @@ class WC_Beta_Tester_Admin_Assets {
|
|||
public function admin_scripts() {
|
||||
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
||||
|
||||
// TODO: Figure out why the modal appears only on WC screens. Need some other dependencies?
|
||||
// Need admin styles for the modal.
|
||||
wp_enqueue_style( 'woocommerce_admin_styles' );
|
||||
|
||||
wp_register_script( 'wc-beta-tester-version-info', WC_Beta_Tester::instance()->plugin_url() . '/assets/js/version-information' . $suffix . '.js', array( 'wc-backbone-modal' ), WC_BETA_TESTER_VERSION );
|
||||
|
||||
// TODO: Get version programmatically.
|
||||
|
|
Loading…
Reference in New Issue