Commit 436e2efe authored by Kyle Johnson's avatar Kyle Johnson 📚

Remove localized system variables.

parent 8566d358
Pipeline #2603 passed with stages
in 5 minutes and 38 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