10up / brightcove-video-connect

A plugin to integrate your Brightcove video library or libraries with WordPress
https://www.brightcove.com/
GNU General Public License v2.0
22 stars 34 forks source link

Fix: Don't show 'Label added' message if label data is empty #374

Closed burhandodhy closed 9 months ago

burhandodhy commented 9 months ago

Description of the Change

This PR fixes an issue where the  'Label added' message is displayed even when the label fields are empty. 

Closes #356

How to test the Change

  1. Go to the "Labels" page
  2. Submit the form without filling in the data
  3. The plugin will show the "Label added" notice

Changelog Entry

Fixed - Don't show 'Label added' message if label data is empty

Credits

Props @burhandodhy

Checklist: