• Hi there.

    We are not interesting in making the “Remove Background” feature available to our content providers. I’m hoping there’s a built-in way to easily disable this with a filter or wp-config variable? (that also disables the popup).

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Jason LeMahieu (MadtownLems)

    (@madtownlems)

    I found this filter to let me disable the functionality, but it doesn’t seem to disable the popup. Is that something you’d be willing to consider addressing?

    // disable Enable Media Replace background replacement

    add_filter( ’emr/feature/background’, ‘cets_tweaks_emr_feature_background’ );

    function cets_tweaks_emr_feature_background( $old ) {

        return false;

    }

    Thanks!

    Plugin Support Gerard Blanco

    (@sixaxis)

    Hi Jason,

    What popup do you mean?

    Hi,

    I think he is referring to this popup. Furthermore, this popup can’t be closed if the user is not an administrator (the user is not allowed to access the page /wp-admin/admin.php?page=ss_options#notificationcontrol).

    Do you know how to solve this issue? IMO background removal should be a separate plugin, as its purpose is very different from media replacement; at least this popup should not be displayed to non-admin users, I think.

    Thanks!

    Thread Starter Jason LeMahieu (MadtownLems)

    (@madtownlems)

    Yup – that’s the popup!

    If I’m using the available filter to disable the functionality, then the persistent notice about it should DEFINITELY not be shown.
    I haven’t tested/confirmed Emielb’s comments, but they sound worth looking into. Excessive notices, especially un-dismissable ones, are a huge pain point for WordPress users.

    Plugin Author Pedro

    (@petredobrescu)

    hello and thanks for the reports!

    Indeed the notification isn’t included in the filter, we didn’t think about that, apologies! We’ll think about a solution for the next release.

    The same goes for the notification that cannot be dismissed, we’ll get this fixed in the next release, too.

    Thanks for your patience until we get these 2 points addressed.

    Thread Starter Jason LeMahieu (MadtownLems)

    (@madtownlems)

    Thank you so much. Looking forward to the next release!

    Plugin Author Pedro

    (@petredobrescu)

    Dear @emielb,

    We’re working on a new release and want to include a fix for the issue you have reported, but we can’t reproduce it. Can you please check your browser console and tell me if there are any errors displayed there when trying to dismiss the notification for a non-admin user?
    It would also help a lot if you could share the list of your active plugins, I suspect this might come from a clash with another plugin.

    Thanks, I look forward to getting your reply!

    Hi @petredobrescu

    I just looked further and there is no error message in the console, but it seems indeed to be a conflict with another plugin: Stop Spammers.

    By deactivating this plugin I was able to click on the cross and it registered that I don’t want to display it anymore.

    Edit: I was able to reproduce the problem on a new WP installation with only the 2 plugins installed, so I don’t think other plugins are relevant, but I can provide you the list if needed.

    • This reply was modified 1 year, 9 months ago by Emielb.
    Plugin Author Pedro

    (@petredobrescu)

    Ok, got it, thanks for the quick reply @emielb !

    Version 4.0.3 will soon be released and the filter will also prevent the notification from showing up!

    Great, thanks!

    Thread Starter Jason LeMahieu (MadtownLems)

    (@madtownlems)

    Thank you for the quick work on this! Really appreciate it. Cheers

    Plugin Author Pedro

    (@petredobrescu)

    Dear @madtownlems and @emielb,

    Version 4.0.3 should fix this and it was released some hours ago.

    In case anything else shows up, or the error isn’t fully fixed, please get back to us!

    All the best ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How Disable Background Removal Beta Feature?’ is closed to new replies.