wp-trigger-netlify-build icon indicating copy to clipboard operation
wp-trigger-netlify-build copied to clipboard

Remove notices when debug is enabled

Open daviddarke opened this issue 5 years ago • 0 comments

Hi! there are a bunch of undefined offset notices being thrown when you first load the plugin BEFORE any settings are saved:

Screenshot 2020-10-04 at 10 41 03

I've added some guards to stop those warnings being flagged and a block on the wp_trigger_netlify_build_admin_bar_status to stop image render until settings are saved.

Screenshot 2020-10-04 at 11 08 34

daviddarke avatar Oct 04 '20 10:10 daviddarke