PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.7.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.7.0
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
← All changes | includes/elementor/controls/file-uploader.php +3 -3 1.6.22.7.0 View file →
@@ -98,10 +98,10 @@
98 98 <div class="elementor-button-wrapper">
99 99 <button type="button" class="elementor-button elementor-button-default elementor-repeater-add sellkit-control-file-uploader-button">
100 100 <input
101 101 type="file"
102 - data-max-upload-limit="<?php echo wp_max_upload_size(); ?>"
103 - data-ajax-url="<?php echo admin_url( 'admin-ajax.php' ); ?>"
102 + data-max-upload-limit="<?php echo esc_attr( wp_max_upload_size() ); ?>"
103 + data-ajax-url="<?php echo esc_attr( admin_url( 'admin-ajax.php' ) ); ?>"
104 104 class="sellkit-control-file-uploader-input"/>
105 105 <i class="fa fa-upload" aria-hidden="true"></i>
106 106 <?php echo esc_html__( 'Upload File', 'sellkit' ); ?>
107 107 </button>
@@ -123,9 +123,9 @@
123 123 <div class="elementor-panel-alert elementor-panel-alert-danger">
124 124 <ul>
125 125 <li class="sellkit-control-file-uploader-warning-size">
126 126 <?php esc_html_e( 'Maximum allowed file size is', 'sellkit' ); ?>
127 - <strong><?php echo round( wp_max_upload_size() / ( 1024 * 1024 ), 2 ); ?>
127 + <strong><?php echo esc_html( round( wp_max_upload_size() / ( 1024 * 1024 ), 2 ) ); ?>
128 128 <?php
129 129 /* translators: here "MB" means megabytes */
130 130 echo esc_html__( 'MB', 'sellkit' );
131 131 ?>