- small code formatting changes;

This commit is contained in:
nikitozzzzzzz
2018-09-18 09:43:47 +03:00
parent edea022ddc
commit 75c2469bb2
5 changed files with 13 additions and 71 deletions
+4 -1
View File
@@ -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;
}