Support » Fixing WordPress » Color Checker issues when used in plugin

  • I use the wordpress color checker on the settings page of my plugin NGG Smart Image Search since my latest version update 3.0.
    Since this update some users report problems which look like javascript problems on their backend. When these users deactivate my plugin they report that there problems are gone (see provided link with this topic).

    In my plugin I do not use javascript on my setting page besides the color checker function. I provided a manual update 3.01 to the users where the color checker could be deactivated by settings.
    Deactivating the color checker option solved the problems for all users.

    My question is whether I can do any testing in my plugin to check whether users will experience javascript issues when activating my plugin. I myself cannot see any javascript issues on websites where I use my plugin myself.
    My only guess is that those users experiencing javascript issues with the color checker might use a theme or plugin which replaces the jquery library in the wordpress core in an incompatible way, but I am not sure.

    Can I do anything else than deactivating the WordPress color checker?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    You should not enqueue your scripts (including the one that activates the color checker) throughout the entire admin area, but only on your pages, when your settings screen is being displayed.

    Then any scripting you do can’t interfere with other pages as those people are reporting.

Viewing 1 replies (of 1 total)
  • The topic ‘Color Checker issues when used in plugin’ is closed to new replies.