Spam Commenting on a Page without Comments Enabled
-
I am having a problem with my site. Every 10-20 minutes I get a spam comment from one of the pages on my site. The tricky thing is, there is no comment include tag anywhere in the code.
The code for page.php is below:
<?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="text"> <?php the_content('Read the rest of this page »'); ?> </div> </div> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
Can anyone help me?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Spam Commenting on a Page without Comments Enabled’ is closed to new replies.