- fixed sanitizing key for the drag&drop action;

This commit is contained in:
Nikita Sinelnikov
2021-08-10 16:20:14 +03:00
parent 15f8f75780
commit 6fc7ed7686
+1 -1
View File
@@ -60,7 +60,7 @@ if ( ! class_exists( 'um\admin\core\Admin_DragDrop' ) ) {
foreach ( $_POST as $key => $value ) {
$key = sanitize_key( $key );
$key = sanitize_text_field( $key );
// adding rows
if ( 0 === strpos( $key, '_um_row_' ) ) {