Skip to:
Content

BuddyPress.org

Ticket #6905: 6905.patch

File 6905.patch, 777 bytes (added by ramiy, 9 years ago)
  • src/bp-core/classes/class-bp-core-login-widget.php

     
    116116
    117117                                <?php if ( bp_get_signup_allowed() ) : ?>
    118118
    119                                         <span class="bp-login-widget-register-link"><?php printf( __( '<a href="%s" title="Register for a new account">Register</a>', 'buddypress' ), bp_get_signup_page() ); ?></span>
     119                                        <span class="bp-login-widget-register-link"><a href="<?php echo esc_url( bp_get_signup_page() ); ?>" title="<?php _e( 'Register for a new account', 'buddypress' ); ?>"><?php _e( 'Register', 'buddypress' ); ?></a></span>
    120120
    121121                                <?php endif; ?>
    122122