I coudn't find the php that generates that or do I have to deactivate it from the Site admin?
views:
34answers:
2
A:
- Download and Install Notepad++.
- Open Notepad++
- Hit "Ctrl-F" to get a Find dialog.
- Change to the Find in Files tab ("Ctrl-Shift-F" might shortcut you here).
- Change the filter to *.php
- Change the location to your wordpress folder
- Ensure you have Search in Subdirectories enabled.
- Search for "Your comment is awaiting"
Graphain
2010-07-09 06:07:16
+1
A:
You'll need to use your own callback for wp_list_comments()
- check out Twenty Ten's comment callback twentyten_comment()
as an example.
You'll see a line something along the lines of;
<?php if ( $comment->comment_approved == '0' ) : ?>
<em><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em>
<br />
<?php endif; ?>
You could pretty much copy and paste twentyten_comment()
into your own theme, removing the block of code above, and then using wp_list_comments('callback=my_comment_callback')
in comments.php.
TheDeadMedic
2010-07-09 12:04:58