Skip to content

Commit

Permalink
fix: stop using an empty enqued style in all contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu committed Jun 7, 2024
1 parent aaa4250 commit eb5829a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions public/class-openedx-commerce-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ public function enqueue_styles() {
* between the defined hooks and the functions defined in this
* class.
*/

wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/openedx-commerce-public.css', array(), $this->version, 'all' );
}

/**
Expand Down
3 changes: 3 additions & 0 deletions public/css/openedx-commerce-public.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/**
* All of the CSS for your public-facing functionality should be
* included in this file.
*
* Note: This file is not queued; you must queue it if you want to add styles here.
* For more information on why we dequeued this file, see https://github.com/openedx/openedx-wordpress-ecommerce/pull/79.
*/

0 comments on commit eb5829a

Please sign in to comment.