Skip to content

Commit

Permalink
deploy: e240408
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 7, 2025
1 parent b257869 commit 4117e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mt-settings.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@
$options = ( ! is_array( get_option( 'mt_settings' ) ) ) ? array() : get_option( 'mt_settings' );
$nonce = wp_verify_nonce( $_POST['_wpnonce'], 'my-tickets-nonce' );
if ( $nonce ) {
$size = isset( $_FILES['mt-import-settings']['size'] ) ? absint( $_FILES['mt-import-settings']['size'] ) : 0;
$name = isset( $_FILES['mt-import-settings']['tmp_name'] ) ? sanitize_text_field( $_FILES['mt-import-settings']['tmp_name'] ) : '';
$size d= isset( $_FILES['mt-import-settings']['size'] ) ? absint( $_FILES['mt-import-settings']['size'] ) : 0;
$name = isset( $_FILES['mt-import-settings']['tmp_name'] ) ? sanitize_text_field( $_FILES['mt-import-settings']['tmp_name'] ) : '';
global $wp_filesystem;
require_once ABSPATH . '/wp-admin/includes/file.php';
WP_Filesystem();
Expand Down

0 comments on commit 4117e21

Please sign in to comment.