summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/wordads/php/widgets.php')
-rw-r--r--plugins/jetpack/modules/wordads/php/widgets.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/wordads/php/widgets.php b/plugins/jetpack/modules/wordads/php/widgets.php
index 04fed064..f4eb90b8 100644
--- a/plugins/jetpack/modules/wordads/php/widgets.php
+++ b/plugins/jetpack/modules/wordads/php/widgets.php
@@ -52,7 +52,7 @@ class WordAds_Sidebar_Widget extends WP_Widget {
$snippet = $wordads->get_house_ad( $unit );
} else {
- $snippet = $wordads->get_ad_snippet( $section_id, $height, $width );
+ $snippet = $wordads->get_ad_snippet( $section_id, $height, $width, 'widget' );
}
echo <<< HTML
@@ -113,4 +113,3 @@ function jetpack_wordads_widgets_init_callback() {
}
add_action( 'widgets_init', 'jetpack_wordads_widgets_init_callback' );
-