diff --git a/includes/class-newspack-ads-model.php b/includes/class-newspack-ads-model.php index 5714bcd7..bc21158d 100644 --- a/includes/class-newspack-ads-model.php +++ b/includes/class-newspack-ads-model.php @@ -354,13 +354,12 @@ public static function code_for_ad_unit( $ad_unit ) { $largest = self::largest_ad_size( $sizes ); $code = sprintf( - "
", + "
", $network_code, $code, $unique_id, $largest[0], - $largest[1], - $unique_id + $largest[1] ); return $code; } @@ -485,13 +484,12 @@ function ( $item ) { ); } else { $markup[] = sprintf( - '
', + '
', $network_code, $code, $div_id, $width, - $height, - $div_id + $height ); } }