Good but i found bug
-
In my environment happened the following error: Slider not found … When inspecting the code I saw that on line 60 of the / src / CycloneSlider / Data is being received the id instead of slug
$slider = $this->plugin['data']->get_slider_by_slug =($slider_slug); //$slider_slug receiving ID
Then added the following check before:
if (is_numeric ($slider_slug)) { $post = get_post ($slider_slug); $slider_slug = $post->post_name; }
- The topic ‘Good but i found bug’ is closed to new replies.