Download Monitor
Conflicts with Wishlist Member Plugin (3 posts)

  1. tanver
    Posted 1 year ago #

    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.


  2. bravenewniche
    Posted 1 year ago #

    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...

  3. bravenewniche
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Download Monitor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic