mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
- small code formatting changes;
This commit is contained in:
@@ -532,8 +532,11 @@ if ( ! class_exists( 'um\core\Roles_Capabilities' ) ) {
|
||||
foreach ( $role_data as $key=>$value ) {
|
||||
if ( strpos( $key, '_um_' ) === 0 )
|
||||
$key = str_replace( '_um_', '', $key );
|
||||
$temp[$key] = $value;
|
||||
$temp[ $key ] = $value;
|
||||
}
|
||||
|
||||
$temp = apply_filters( 'um_change_role_data', $temp, $roleID );
|
||||
|
||||
return $temp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user