diabolus
Member
Posted 4 years ago #
hi,
i've setting my blog to moderate comment, bu in the botto of comment form, there's e message like "Comment moderation is enabled. Your comment may take some time to appear."
so, i wanna remove that message, but i don't know which the wp php file i must edit. i've checked on some comment php files, like on wp-admin, wp-include folder, but still cant get it. so please tell me
Check your comments template, i.e. comments.php. If your theme does not come with one, it will be using the default theme's comments.php.
diabolus
Member
Posted 4 years ago #
Kafkaesqui, i've checked it, but still can not get it
kmessinger
Member
Posted 4 years ago #
If you are using the default theme; wp-admin, options, discussion and make the changes you want.
Might not be the best way, but in the language translation file for your install, it has all the translations. Edit your file and search for those terms and erase that comment so it says nothing? Maybe that will work.
Trent
Diabolus,
Kaf has already answered your issue. If you are still not able to locate it, please tell us the name of your theme and its URL, so that I can look up the string for you.
S.K
diabolus
Member
Posted 4 years ago #
i use k2 theme, still cant get where the message is located.
I find this line in k2's comments.php (RC3, line 77):
<?php if ('0' == $comment->comment_approved) { ?><p class="alert"><strong><?php _e('Your comment is awaiting moderation.','k2_domain'); ?></strong></p><?php } ?>
Similar one in comments-ajax.php (near the bottom).
diabolus
Member
Posted 4 years ago #
Kafkaesqui,
like i said above, i've serched in all k2's php files, including the comment.* php, but still cant' get it.
i think it message is came from a plugin i'm currently using. i'll search it, and thanks for your advice.
diabolus
Member
Posted 4 years ago #
ahem, thanks to god for giving me a smart brain :) ..i get that stupid message located in wp-supercache's php file. so, this's resolved now. thanks people for your advice.