WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
plugin is messing other plugin html (1 post)

  1. XjmoVSB1vScHzW
    Member
    Posted 3 months ago #

    I have another plugin that generates html like this:

    onclick="remove_item_from_wishlist( '<?php echo esc_url($yith_wcwl->get_remove_url( $values['ID'] )) ?>', 'yith-wcwl-row-<?php echo $values['ID'] ?>');"

    without your plugin the output is correct:

    onclick="remove_item_from_wishlist( 'https://www.mysite.com/wp-admin/admin-ajax.php?wishlist_item_id=10' , 'yith-wcwl-row-10');"

    with your plugin it becomes:

    onclick="remove_item_from_wishlist( 'https://www.mysite.com/wp-admin/admin-ajax.php?wishlist_item_id=10" , 'yith-wcwl-row-10');"

    The change is tiny but breaks the functionality of the other plugin ' is changed for "

    Is there any easy option to make the google analytics plugin to stop from breaking this?

    https://wordpress.org/plugins/google-analytics-for-wordpress/

Reply

You must log in to post.

About this Plugin

About this Topic