Skip to content

Commit

Permalink
enabling legacy markup all the time for forms
Browse files Browse the repository at this point in the history
  • Loading branch information
curtismchale committed Mar 7, 2024
1 parent 0890e79 commit 95e65c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin_override/gravityforms/proud-gravityforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ function proud_gravityforms_init() {
remove_all_filters( 'wp_ajax_gf_download_export', 10 );
add_filter( 'wp_ajax_gf_download_export', __NAMESPACE__ . '\\gf_hijack_download_export', 1 );

add_filter( 'gform_enable_legacy_markup', '__return_true' );

// Only alter if gravityforms <> stateless not enabled
$statelessModuleActive = false;
try {
Expand Down

0 comments on commit 95e65c4

Please sign in to comment.