mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge pull request #1351 from ultimatemember/fix/social_url_characters
Social URL characters
This commit is contained in:
@@ -784,7 +784,7 @@ if ( ! class_exists( 'um\core\Form' ) ) {
|
||||
$f = UM()->builtin()->get_a_field( $k );
|
||||
|
||||
if ( is_array( $f ) && array_key_exists( 'match', $f ) && array_key_exists( 'advanced', $f ) && 'social' === $f['advanced'] ) {
|
||||
$v = sanitize_text_field( $form[ $k ] );
|
||||
$v = esc_url_raw( $form[ $k ] );
|
||||
|
||||
// Make a proper social link
|
||||
if ( ! empty( $v ) ) {
|
||||
|
||||
Reference in New Issue
Block a user