• Resolved osama.esh

    (@osamaesh)


    Dear plugin author,
    please use the following code to prevent including the sweetalert.css file outside the plugin pages, because t conflicts with another plugin.

    public function enqueue_styles() {
    			$can_load = apply_filters( $this->plugin_abbr . '_can_load_sweetalert_js', false );
    
    			if ( $can_load ) {
    			wp_register_style( "sweetalert_{$this->version}", plugin_dir_url( __FILE__ ) . 'assets/css/sweetalert2.min.css', array(), $this->version );
    			wp_enqueue_style( "sweetalert_{$this->version}" );
    			}
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @osamaesh,

    Thanks for pointing this out. We have checked this and noted it down and will surely fix this in the next release of the plugin.

    Have a great day!
    Thanks again.

    Hi @osamaesh,

    We have fixed this issue in the latest release(v1.7.3) of the plugin. Please update the plugin and check on your end now.

    Thank You!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘conflict’ is closed to new replies.