• Resolved smit_ralph

    (@smit_ralph)


    Hi,

    In the registration form, the href target element to the privay page has a doubel set of doubel quotes, making the link unusable. Could you adjust that?

    Thx

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WP User Manager

    (@wpusermanager)

    @smit_ralph have you got a URL where this is happening?

    Thread Starter smit_ralph

    (@smit_ralph)

    Hi,
    The matter is not resolved, but I was on a vacation, so could not respond.
    The issue is seen in https://www.cooplink.nl/register, if you check the link at bottom of the form (“Privacybeleid”)

    Plugin Contributor Iain Poulson

    (@polevaultweb)

    @smit_ralph are you adding custom text with the wpum_privacy_text filter or translating the plugin with Loco Translate?

    Thread Starter smit_ralph

    (@smit_ralph)

    Uhm… Neither? I have not used any additional function to translate, nor is there a translation plugin active. It si just a Dutch WordPress.

    Also i did not specifically choose to have this checkbox, I assume it is automatically added to the WPUM registration form when a privacy page is active?

    Plugin Author WP User Manager

    (@wpusermanager)

    I think there is an issue with the translated string for the Dutch language pack.

    To fix this, add a new wpum.php file to your /wp-content/mu-plugins/ directory (you might need to create the mu-plugins directory) with the contents:

    
    <?php 
    add_filter( 'wpum_privacy_text', function ( $text ) {
    	return 'Ik heb het <a href="https://www.cooplink.nl/privacy" target="_blank">privacybeleid</a> gelezen en ga akkoord met het opslaan van de gegevens die ik aanlever met dit formulier.';
    } );
    Thread Starter smit_ralph

    (@smit_ralph)

    Thx, that seems to do the trick, although i changed it a bit to

    <?php 
    add_filter( 'wpum_privacy_text', function ( $text ) {
    	return 'Ik heb het <a href="' . site_url() . '/privacy" target="_blank">privacybeleid</a> gelezen en ga akkoord met het opslaan van de gegevens die ik aanlever met dit formulier.';
    } );

    Is the language pack part of the plugin, or is that particular string in the WordPress translation files?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘privacy page link in register not working’ is closed to new replies.