Skip to content

Commit 949c1a4

Browse files
committed
fix disable wp_footer for payment template
1 parent 6d16e21 commit 949c1a4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/payment.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,11 @@
344344
?>
345345
</div>
346346

347-
<?php wp_footer(); ?>
347+
<?php
348+
if ( ! $this->disable_wp_footer ) {
349+
wp_footer();
350+
}
351+
?>
348352

349353
</body>
350354
</html>

0 commit comments

Comments
 (0)