* small changes;

* updated readme.txt;
This commit is contained in:
Mykyta Synelnikov
2024-09-24 18:07:41 +03:00
parent 010ea3369a
commit 3fbba2dcd5
2 changed files with 7 additions and 6 deletions
+3 -4
View File
@@ -134,7 +134,6 @@ function um_profile_field_filter_hook__vimeo_video( $value, $data ) {
}
add_filter( 'um_profile_field_filter_hook__vimeo_video', 'um_profile_field_filter_hook__vimeo_video', 99, 2 );
/**
* Outputs a phone link
*
@@ -144,13 +143,13 @@ add_filter( 'um_profile_field_filter_hook__vimeo_video', 'um_profile_field_filte
* @return string
*/
function um_profile_field_filter_hook__phone( $value, $data ) {
if ( empty( trim( str_replace( '+', '', $value ) ) ) ) {
$maybe_empty_phone = trim( str_replace( '+', '', $value ) );
if ( empty( $maybe_empty_phone ) ) {
return '';
}
$value = trim( $value );
$value = '<a href="' . esc_url( 'tel:' . $value ) . '" rel="nofollow" title="' . esc_attr( $data['title'] ) . '">' . esc_html( $value ) . '</a>';
return $value;
return '<a href="' . esc_url( 'tel:' . $value ) . '" rel="nofollow" title="' . esc_attr( $data['title'] ) . '">' . esc_html( $value ) . '</a>';
}
add_filter( 'um_profile_field_filter_hook__tel', 'um_profile_field_filter_hook__phone', 99, 2 );
+4 -2
View File
@@ -177,10 +177,12 @@ IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSI
**Bugfixes**
* Fixed: CVE-2024-8520
* Fixed: CVE-2024-8519
* Fixed: Single user action on User Profile security vulnerability. CVE ID: CVE-2024-8520
* Fixed: [um_loggedin] shortcode security vulnerability. CVE ID: CVE-2024-8519
* Fixed: Performance issue related to Settings > Secure tab
* Fixed: The "Clear All" button in the member directory did not reset all dependent dropdowns
* Fixed: Telegram and Discord social links in profile header
* Fixed: UM links to empty phone numbers
**Templates required update**