Comments Have Website Filled Even If User Doesn't Set One
-
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)
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.