WordPress.org

Ready to get started?Download WordPress

Forums

WP Newsletter
[resolved] form truncate in frontend (2 posts)

  1. Inglebard
    Member
    Posted 2 months ago #

    Hi,

    There is a little issue on line 714 in file "lettreinfo.php"

    Currently is :

    $ret='
    ...
    <form action="#" method="post" class="newslform" onsubmit="if(this.news_email.value=="" || this.news_email.value=="newsletter : votre email"){ return false; }">
    ...
    </p> ';

    But i think, it should be :

    $ret='
    ...
    <form action="#" method="post" class="newslform" onsubmit="if(this.news_email.value==\'\' || this.news_email.value==\'newsletter : votre email\'){ return false; }">
    ...
    </p> ';

    " are use un php variable to avoid ' but it cause an issue in html attribute.

    https://wordpress.org/plugins/eelv-newsletter/

  2. Bastien Ho
    Member
    Plugin Author

    Posted 1 month ago #

    You're right !
    It's done in version 3.8.7

    best regards

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.