• Hey,

    In my comments, when a user adds their name, email, and comment (without a website), the comment automatically adds the website for the value of the field. It adds https://Website

    The code is:

    <?php if(!$jquery): ?><label for="website"> <?php _e("Websites","mystique"); ?> </label><?php endif; ?>
                  <input type="text" name="url" id="field-url" class="textfield clearField" value="<?php if ($comment_author_url) echo $comment_author_url; else  $jquery ? _e("Website","mystique"):null; ?>" size="40" />

    [Please post code snippets between backticks or use the code button.]

    Could someone help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter shazza93

    (@shazza93)

    Hey,

    The forum is 2 days old and has been doing this since the start, even before any plugins were installed.

    I have tried your solutions however and there has been no success, I just have a feeling this is a coding issue.

    Look, as it also happens on their website:

    https://digitalnature.ro/projects/mystique/

    Thanks,

    Thread Starter shazza93

    (@shazza93)

    Any help? It’s really frustrating!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments Have Website Filled Even If User Doesn't Set One’ is closed to new replies.