Skip to content

Commit ef5e2f3

Browse files
committed
Fix Max entries per csv file option in Import/Export setting not showing options
1 parent bbbe10c commit ef5e2f3

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

admin/views/html-admin-settings-import-export-users.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
$uwp_chunk_sizes = apply_filters('uwp_ie_csv_chunks_options', $uwp_chunk_sizes);
110110
$uwp_chunk_sizes_opts = '';
111111
foreach ($uwp_chunk_sizes as $value => $title) {
112-
$uwp_chunk_sizes_opts .= '<option value="' . $value . '" ' . selected($value, 5000, false) . '>' . $title . '</option>';
112+
$uwp_chunk_sizes_opts .= '<option value="' . esc_attr($value) . '" ' . selected($value, 5000, false) . '>' . esc_attr($title) . '</option>';
113113
}
114114

115115
$users_count = count_users();
@@ -124,7 +124,7 @@
124124
<tbody>
125125
<tr>
126126
<th class=""><label for="uwp_ie_chunk_size"><?php esc_html_e( 'Max entries per csv file:', 'userswp' );?></label></th>
127-
<td><select name="uwp_ie_chunk_size" class="aui-select2" id="uwp_ie_chunk_size" data-ucount = "<?php echo esc_attr( $total_users );?>" style="min-width:140px"><?php echo esc_attr( $uwp_chunk_sizes_opts );?></select><p class="description"><?php esc_html_e( 'The maximum number of entries per csv file (default to 5000, you might want to lower this to prevent memory issues.)', 'userswp' );?></p></td>
127+
<td><select name="uwp_ie_chunk_size" class="aui-select2" id="uwp_ie_chunk_size" data-ucount = "<?php echo esc_attr( $total_users );?>" style="min-width:140px"><?php echo $uwp_chunk_sizes_opts; ?></select><p class="description"><?php esc_html_e( 'The maximum number of entries per csv file (default to 5000, you might want to lower this to prevent memory issues.)', 'userswp' );?></p></td>
128128
</tr>
129129
</tbody>
130130
</table>

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ Yes, you can customize it with Elementor, but also with Gutenberg, Divi, Beaver
152152

153153
== Changelog ==
154154

155+
= 1.2.54 - 2026-TBD =
156+
* Max entries per csv file option in Import/Export setting not showing options - FIXED
157+
155158
= 1.2.53 - 2026-01-08 =
156159
* Prevent duplicate event handlers in registration form switcher causing multiple AJAX requests - FIXED
157160
* Password strength doesn't enable/disable register button based on Minimum password strength setting - FIXED

0 commit comments

Comments
 (0)