alleyinteractive / ad-layers

Ad Layers WordPress Plugin
Other
26 stars 12 forks source link

disallow 0x0 unit size #72

Open jakewrfoster opened 5 years ago

jakewrfoster commented 5 years ago

The current lack of group_is_empty allows for cases where ad-layers will save an ad unit size as 0x0. This size group then becomes impossible to remove. This PR ensures that any sizes groups that have a 0x0 ad unit will not be saved.

Screen Shot 568

@mboynes / @bcampeau: For backwards-compat reasons, is there any use-case for an ad unit being 0x0?