From 603cfb5b2ce8ce25b73b2cb20a439d91781e3ac8 Mon Sep 17 00:00:00 2001 From: SebastianWiz <165194375+SebastianWiz@users.noreply.github.com> Date: Thu, 2 Oct 2025 15:46:04 -0700 Subject: [PATCH] `gppt-disable-auto-height.php`: Fixed an issue where the styles weren't output in all contexts. --- gp-page-transitions/gppt-disable-auto-height.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gp-page-transitions/gppt-disable-auto-height.php b/gp-page-transitions/gppt-disable-auto-height.php index 96e24794e..ee2c3aae7 100644 --- a/gp-page-transitions/gppt-disable-auto-height.php +++ b/gp-page-transitions/gppt-disable-auto-height.php @@ -14,7 +14,7 @@ }, 10, 2 ); add_filter( "gform_pre_render_{$target_form_id}", function( $form ) { - add_action( 'wp_head', 'disable_auto_height_styles' ); + disable_auto_height_styles(); return $form; });