You should not edit the WordPress core files!
If you have comment_id_fields()
in your comments template, like this:
<p class="form-submit">
<input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>"
value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
<?php comment_id_fields( $post_id ); ?>
</p>
you might use:
add_filter("comment_id_fields","my_submit_comment_message");
function my_submit_comment_message($result){
return $result." <span>(your message will only be visible after moderation)</span>";
}
and place it in functions.php
in your current theme directory.
Related Posts:
- What are the package and subpackage comment for?
- Experiences with adding Nonces to the comment form
- How to add a privacy-checkbox in comment-template?
- Override comments.php template with plugin
- How to change commenter links to /user/user_id?
- posts comments goes to trash
- Custom setup of wordpress comments that are displayed
- Moving FB comments at the end of page
- Add a Custom Field in Comment Box next to the Text area
- Display WordPress comments before the plugins?
- How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page’s content as given example?
- Paginated Comments “reply” does not work!
- Why links are not linked if edited comment?
- Reply form used in wordpress.com
- Questions about using Disqus or Jetpack for comments [closed]
- Why nested REPLY not working in WP Comments?
- All sites themes functions.php have been changed
- Homemade plugin while using Themify Ultra
- Comment section not showing correctly
- Disqus deleted comments are syncing with wordpress but active comments do not
- Why namespaces are rarely used in WordPress plugins?
- What will happen if i deactivate my visual composer plug in? [closed]
- Include comments form in plugin page
- Finding the URL to be used to check if plugin is installed with a theme
- Theme/Plugin installation through url on button click
- (Big issue) Blog is Getting Down Each day.. what should i do.?
- Custom wordpress Theme and Plugin repository
- WordPress 4.2.1 pre_get_comments doesn’t work after update
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- How can I position ShareThis buttons manually when using the plug-in? [closed]
- How to require users to login when not logged in
- Integrate Facebook comments with native comments
- Post Comments with Ajax in WordPress
- Notify comment author upon reply
- Error when using plugin QuickCache with plugin Mobile Smart ? [closed]
- allow photo/video in comments
- Does WP delete deprecated plugin/theme files on plugin/theme upgrade?
- Enable nested comments in Theme
- Is there any hook for theme activation ? or something similar?
- How to use get_template part in the plugin?
- How can I use get header from within my plugin?
- How do I find out what is in control over a certain part of a website?
- “No Add Button” for me to customize my WordPress with themes and pluggins
- How do I combine a theme with a plugin
- How can I list all installed plugins/themes/versions from CLI/API?
- My single.php page does not show the related data to the post which is clicked
- Where are theme codes located for WordPress?
- Overwrite category head title
- Is there a specific term for Plugins that are specified in a WordPress Post using Comments?
- Basic gallery plugin suggestion [closed]
- Is there a way to get plugins and themes not built for multisite to work on a network subsite?
- How to check if my wordpress websiste is nulled or not?
- Why does my file_exist check fail?
- Remove specific plugins and themes from the Dashboard->Updates page [duplicate]
- Create a single website with 3 theme options in wordpress
- using do_shortcode
- Create custom pages with a plugin
- How to write “alt” tag in image for wordpress code?
- Does heavy theme and plugins affect server’s response time? [closed]
- How to protect WordPress from security scanner [closed]
- Add back to post link on blank comment post error page
- How to load different homepage on Mobile.?
- How to get menu location in wp_update_nav_menu hook
- Proper way to use plugin functions in functions.php
- How to activate a plugin on the activation of a theme?
- Theme Custom Pages
- Use different single.php file based on condition
- how can I query all wordpress users of a blog
- how can I do something on new user registration?
- WordPress plugin won’t show on some themes
- Making that Admin Bar transparent or a blue color
- Which wordpress theme is compatible Optima Express theme (real estate inventory) plugin?
- How to Include File from Plugins into Template?
- how to activate a plugin inside a theme
- Flag Comment as inappropriate button plugin
- how remove font to increase site speed load
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- Help with comments.php
- How to execute plugin and theme updates from a web hook / endpoint?
- Use $variable from file1.php in file2.php (different file paths)
- Some WordPress Posts are automatically becoming comments on other Posts
- There has been a critical error on your website – won’t fix no matter what
- Comment IP Plugin – Fixing onfocus=’this.select()’
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Is it possible not to load theme on a specific page in wordpress?
- How to get theme’s info from wordpress.org/themes using api.wordpress.org?
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- I receive taxonomy id
- To perform the requested action, WordPress needs to access your web > server
- How to find the list of custom post type where logged in user is author
- What is the purpose of WP_CONTENT_URL?
- How to translate WP Blog (search, category etc.)?
- Theme My Login Shortcode Doesn’t Return Anything
- issue in wp_localize_script
- Include Minit plugin in theme [closed]
- How do I set up XAMPP to allow me to download plugins and themes?
- get_comments_number() giving wrong results! What are alternatives?
- How to extract a .wp-env.json or composer.json containing plugin versions from a production website?
- How do I add a plugin dependency to my customized theme?