Commit 3647603e authored by KR Moorhouse's avatar KR Moorhouse

Merge branch '4032' into 'develop'

Remove localized system variables.

Closes #4032

See merge request !3840
parents 8566d358 436e2efe
Pipeline #2607 passed with stages
in 5 minutes and 31 seconds
......@@ -682,14 +682,6 @@ final class NF_Display_Render
}
}
?>
<script>
var post_max_size = '<?php echo WPN_Helper::string_to_bytes( ini_get('post_max_size') ); ?>';
var upload_max_filesize = '<?php echo WPN_Helper::string_to_bytes( ini_get( 'upload_max_filesize' ) ); ?>';
var wp_memory_limit = '<?php echo WPN_Helper::string_to_bytes( WP_MEMORY_LIMIT ); ?>';
</script>
<?php
// Action to Output Custom Templates
do_action( 'ninja_forms_output_templates' );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment