• Hi! I’m one of the developers of Jetpack, and we have had a case of a conflict with GridGallery. The problem is this line, where your plugin tries to output footer styles:

    https://plugins.trac.www.ads-software.com/browser/gallery-by-supsystic/trunk/src/GridGallery/Galleries/Module.php#L92

    If you change it like this, the problem is solved at least for XMLRPC requests that currently handle API output:


    Index: src/GridGallery/Galleries/Module.php
    ===================================================================
    --- src/GridGallery/Galleries/Module.php (revision 1875836)
    +++ src/GridGallery/Galleries/Module.php (working copy)
    @@ -89,7 +89,7 @@

    //on shutdown check is footer is printed , if not print scripts for our gallery
    public function shutdown(){
    - if(!(defined('DOING_AJAX') && DOING_AJAX) && !did_action('wp_footer')){
    + if(!(defined('DOING_AJAX') && DOING_AJAX) && !(defined('XMLRPC_REQUEST') && XMLRPC_REQUEST) && !did_action('wp_footer')){
    wp_print_footer_scripts();
    }
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author supsystic

    (@supsysticcom)

    Hello, Igor!
    Thanks a lot for your feedback. It’s a honor for us to listen to advice from an experienced developer and of course we have added such a checking into the code.
    Once more, thanks for your help!

    Thread Starter Igor Zinovyev (a11n)

    (@zinigor)

    Thank you!

    We’ll let the user know to update your plugin as soon as the new version appears.

    Plugin Author supsystic

    (@supsysticcom)

    We can also provide him with fixed version right now, if he could be so kind to contact us via our internal support (by the link below)
    Thanks for collaborating! Together we will make WP better.
    https://supsystic.com/contact-us/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘GridGallery conflicts with Jetpack’ is closed to new replies.