Skip to content

Commit

Permalink
Replace css name with $handle var
Browse files Browse the repository at this point in the history
  • Loading branch information
MlKilderkin committed Aug 8, 2023
1 parent 2f54127 commit 4a66eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uplink/Admin/License_Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ public function enqueue_assets() {
wp_localize_script( $handle, sprintf( 'stellarwp_config_%s', $action_postfix ), [ 'action' => sprintf( 'pue-validate-key-uplink-%s', $action_postfix ) ] );

$css_src = apply_filters( 'stellarwp/uplink/' . Config::get_hook_prefix() . '/admin_css_source', $path . '/assets/css/main.css' );
wp_enqueue_style( sprintf( 'stellarwp-uplink-license-admin-%s', Config::get_hook_prefix() ), $css_src );
wp_enqueue_style( $handle, $css_src );
}
}

0 comments on commit 4a66eda

Please sign in to comment.