Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Denis V (Artprima)

    (@v-media)

    Cyclone Slider has a bug because of which it can be broken not just by Foodlist. There is a file: cyclone-slider-2\src\CycloneSlider\Admin.php. Inside there is a method admin_footer(). Inside this method this plugin checks the current page using

    if(get_post_type()=='cycloneslider'){ /* ... */ }

    But this is wrong, instead it should check the current screen:

    if ((($screen = get_current_screen()) !== null) && $screen->id == 'cycloneslider') { /* ... */ }
    Thread Starter mdurchholz

    (@mdurchholz)

    Thank you very much for an answer and a solution. I’ll mention something to their plugin author about your recommendation. I do not want to hard code that myself since it will be lost after updating the plugin. Thank you once again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘This plugin breaks Cyclone Slider 2’ is closed to new replies.