Skip to content

Commit

Permalink
I *swear* I deleted that...
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 7, 2025
1 parent e240408 commit 4866abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mt-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function mt_import_settings() {
$options = ( ! is_array( get_option( 'mt_settings' ) ) ) ? array() : get_option( 'mt_settings' );
$nonce = wp_verify_nonce( $_POST['_wpnonce'], 'my-tickets-nonce' );
if ( $nonce ) {
$size d= isset( $_FILES['mt-import-settings']['size'] ) ? absint( $_FILES['mt-import-settings']['size'] ) : 0;
$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'] ) : '';
global $wp_filesystem;
require_once ABSPATH . '/wp-admin/includes/file.php';
Expand Down

0 comments on commit 4866abb

Please sign in to comment.