- fixed issues with sanitizing and filters;

This commit is contained in:
Nikita Sinelnikov
2021-07-30 15:43:25 +03:00
parent a4d305c2c5
commit 7380313760
2 changed files with 31 additions and 22 deletions
@@ -614,6 +614,10 @@ if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
$output['error'] = null;
// var_dump( $_POST );
// var_dump( UM()->admin()->sanitize_builder_field_meta( $_POST ) );
// exit;
$array = array(
'field_type' => sanitize_key( $_POST['_type'] ),
'form_id' => absint( $_POST['post_id'] ),