TomodomoCo / total-slider

A WordPress plugin for creating, editing and removing ‘slides’ with text and images (for a homepage, for example).
GNU General Public License v2.0
7 stars 2 forks source link

Bug in Widget: Slide with empty description displays previous slide's description #65

Closed PeterUpfold closed 9 years ago

PeterUpfold commented 9 years ago

Reported by Rachel on WP Support Forums for Total Slider:

Hi,

I found a bug in the widget where if a slide has an empty description, it displays the description of the previous slide. The fix is to add the following code in includes/class.total-slider-widget.php after Lines 269-271 (which set the slide description):

else { $this->slide_description = ''; }

This unfortunately just missed v2.0, and should be addressed for the immediate next release.