mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-14 04:06:36 +09:00
- fixed sanitizing types;
- fixed `in_group` attribute sanitizing;
This commit is contained in:
@@ -757,10 +757,10 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'sanitize' => 'text',
|
||||
),
|
||||
'profile_max_width' => array(
|
||||
'sanitize' => 'absint',
|
||||
'sanitize' => 'text',
|
||||
),
|
||||
'profile_area_max_width' => array(
|
||||
'sanitize' => 'absint',
|
||||
'sanitize' => 'text',
|
||||
),
|
||||
'profile_icons' => array(
|
||||
'sanitize' => 'key',
|
||||
@@ -826,7 +826,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'sanitize' => 'text',
|
||||
),
|
||||
'register_max_width' => array(
|
||||
'sanitize' => 'absint',
|
||||
'sanitize' => 'text',
|
||||
),
|
||||
'register_align' => array(
|
||||
'sanitize' => 'key',
|
||||
@@ -853,7 +853,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'sanitize' => 'text',
|
||||
),
|
||||
'login_max_width' => array(
|
||||
'sanitize' => 'absint',
|
||||
'sanitize' => 'text',
|
||||
),
|
||||
'login_align' => array(
|
||||
'sanitize' => 'key',
|
||||
|
||||
Reference in New Issue
Block a user