issues
search
INN
/
doubleclick-for-wp
WordPress plugin for serving Google Ad Manager ads
https://wordpress.org/plugins/doubleclick-for-wp/
GNU General Public License v2.0
25
stars
11
forks
source link
Fix invalid foreach errors
#38
Closed
benlk
closed
7 years ago
benlk
commented
7 years ago
Changes
If an ad unit has no size mappings, don't try to
foreach
.
If a widget has no size strings, don't try to
foreach
, and, in addition, replace the widget with a HTML comment explaining why the widget does not appear.
Add a missing text domain to a
__()
call.
Why
For #34, when WP_DEBUG is true.
Changes
foreach
.foreach
, and, in addition, replace the widget with a HTML comment explaining why the widget does not appear.__()
call.Why
For #34, when WP_DEBUG is true.