PluginProbe
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP / 1.2.11
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP v1.2.11
1.2.74 1.2.73 1.2.72 1.2.71 1.2.70 1.2.69 1.2.68 1.2.67 1.2.66 1.2.65 1.2.64 1.2.63 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 All 174 releases
← All changes | includes/helpers/pages.php +2 -8 1.2.651.2.11 View file →
@@ -387,18 +387,12 @@
387 387 if( !empty( $badge ) && $user_id && $badge = str_replace("%%profile_url%%", uwp_build_profile_tab_url($user_id),$badge) ){
388 388 // will be replace in condition check
389 389 }
390 390
391 - // link url, replace vars
392 - if ( ! empty( $args['link'] ) && $args['link'] = str_replace( "%%input%%", $match_value, $args['link'] ) ) {
391 + //link url, replace vars
392 + if( !empty( $args['link'] ) && $args['link'] = str_replace("%%input%%", $match_value,$args['link']) ){
393 393 // will be replace in condition check
394 - if ( ! empty( $field->field_type ) && $field->field_type == 'url' ) {
395 - $args['link'] = esc_url( $args['link'] );
396 - } else {
397 - $args['link'] = esc_attr( $args['link'] );
398 - }
399 394 }
400 -
401 395 if( !empty( $args['link'] ) && $user_id && $args['link'] = str_replace("%%profile_url%%", uwp_build_profile_tab_url($user_id),$args['link']) ){
402 396 // will be replace in condition check
403 397 }
404 398