mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- formatting fixes;
This commit is contained in:
@@ -74,7 +74,7 @@ if ( ! class_exists( 'um\core\Validation' ) ) {
|
||||
|
||||
//validation of correct values from options in wp-admin
|
||||
$stripslashes = $value;
|
||||
if( is_string( $value ) ){
|
||||
if ( is_string( $value ) ) {
|
||||
$stripslashes = stripslashes( $value );
|
||||
}
|
||||
|
||||
|
||||
@@ -248,7 +248,7 @@ function um_user_edit_profile( $args ) {
|
||||
|
||||
//validation of correct values from options in wp-admin
|
||||
$stripslashes = $args['submitted'][ $key ];
|
||||
if( is_string( $stripslashes ) ){
|
||||
if ( is_string( $stripslashes ) ) {
|
||||
$stripslashes = stripslashes( $stripslashes );
|
||||
}
|
||||
if ( in_array( $array['type'], array( 'select' ) ) &&
|
||||
|
||||
Reference in New Issue
Block a user