• Hello,

    Some languages such as French use ‘ . Some stripslashes are missing while displaying the fields in the Registration form.

    I’ve added some of them to regplus.php in order to suit my needs*. Would it be possible to add them in future versions ?

    * Example to manage properly the Disclaimer’s title, text and content :

    Line 752 :

    $errors->add('disclaimer', __('ERROR: Please accept the ', 'regplus') . $regplus['disclaimer_title'] . '.');

    -> has become :


    $errors->add('disclaimer', __('ERROR: Please accept the ', 'regplus') . stripslashes($regplus['disclaimer_title']) . '.');

    Lines 872 -> 874:


    <p><label><?php echo $regplus['disclaimer_title'];?>
    <span id="disclaimer"><?php echo stripslashes($regplus['disclaimer_content']); ?></span>
    <input name="disclaimer" value="1" type="checkbox" tabindex="50"<?php if($_POST['disclaimer']) echo ' checked="checked"';?> /> <?php echo $regplus['disclaimer_agree'];?></label></p>

    -> have become :


    <p><label><?php echo stripslashes($regplus['disclaimer_title']);?>
    <span id="disclaimer"><?php echo stripslashes($regplus['disclaimer_content']); ?></span>
    <input name="disclaimer" value="1" type="checkbox" tabindex="50"<?php if($_POST['disclaimer']) echo ' checked="checked"';?> /> <?php echo stripslashes($regplus['disclaimer_agree']);?></label></p>

    Thanks to you !

    Gautier

    http://wordpress.org/extend/plugins/register-plus/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Register Plus] Stripslashes missing while displaying the fields’ is closed to new replies.