comments.php de
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" >olan kısmı şu şekilde değiştirin
<script language="JavaScript">
function checkifvalid(){
if (window.document.guvenlik.comment.value=="")
{
alert("Lütfen yorum giriniz.");
window.document.guvenlik.comment.focus();
return false;
}
}
</script>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" name="guvenlik" onsubmit="javascript: return checkifvalid();">