mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
* small changes;
* updated readme.txt;
This commit is contained in:
@@ -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
@@ -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**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user