Skip to content

Commit 603cfb5

Browse files
authored
gppt-disable-auto-height.php: Fixed an issue where the styles weren't output in all contexts.
1 parent 433b9b7 commit 603cfb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-page-transitions/gppt-disable-auto-height.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}, 10, 2 );
1515

1616
add_filter( "gform_pre_render_{$target_form_id}", function( $form ) {
17-
add_action( 'wp_head', 'disable_auto_height_styles' );
17+
disable_auto_height_styles();
1818
return $form;
1919
});
2020

0 commit comments

Comments
 (0)