Skip to content

Commit fe89b20

Browse files
David (Lenny) Lenehanzinigor
authored andcommitted
adding temp fix for polldaddy polls not loading in o2/breath
Merges r76956-wpcom.
1 parent 3a19306 commit fe89b20

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎modules/shortcodes/polldaddy.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ function polldaddy_shortcode( $atts ) {
175175
$margins = 'margin: 0px 0px 0px 10px';
176176
}
177177

178+
if ( get_current_theme() == 'Breathe' ) {
179+
$inline = true;
180+
}
181+
178182
if ( $cb === false && !$inline ) {
179183
if ( self::$scripts === false )
180184
self::$scripts = array();

0 commit comments

Comments
 (0)