Support » Plugin: Download Monitor » Conflicts with Wishlist Member Plugin

  • Hi there,
    Using the latest version 1.4.2 of Download Monitor and it is conflicting with the Wishlist Member Version 2.80.2027 – On “Add Download” page when we click “Add file” button nothing happens.

    Anyone else having come across this issue or having sorted it out and willing to share his experience will be great.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I updated to WLM Version 2.80.2027 a few weeks ago, but hadn’t worked with the Download Monitor screens until now – and yes, after going through all my plugins, found that it was WLM breaking the Add File button.

    Off to find an answer.

    Or maybe something other than WLM! It’s enough of a nuisance to develop with anyway…

    In the wpm.php file in the root of the WLM plugin folder, look around line 3168 and you’ll get the handles for the scripts being used in the latest WLM (earlier scripts are just before that point).

    You need the handles in order to dequeue the scripts.

    Ok, haven’t got much time right now, so this is a temporary fix that removes all WLM scripts from admin post-new.php screens:

    function wlm_remove_scripts() {
        global $pagenow;
    	if ( $pagenow == 'post-new.php' ) {
            wp_dequeue_script( 'select2' );
            wp_dequeue_script( 'wishlist_member_admin_more_js' );
            wp_dequeue_script( 'wishlist_member_admin_main_js' );
    add_action( 'wp_print_scripts', 'wlm_remove_scripts', 100 );

    I need to target this more to only affect Download Monitor screens, both Add New and Edit screens, but other deadlines are calling me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflicts with Wishlist Member Plugin’ is closed to new replies.