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]
- What Are Security Best Practices for WordPress Plugins and Themes? [closed]
- How to add plugins to wordpress theme?
- Disabling Comment Notifications for Post Author
- Disable author pages for specific users
- Are there any drawbacks to install IntenseDebate on my blog?
- Set active theme via URL
- How do I make my wordpress page more friendly for mobile viewers?
- Notify commenters about new replies
- Use comments as notes, visible for comment author only
- Check javascript file Proper way in functions.php
- How does WooCommerce display a custom comment_type in Comment Admin?
- Migrating a File from Plugin to Theme and changing its path → instead create a REST endpoint
- How to prevent spam comments?
- Intercept comment form submit/list by hook/filter
- Translating plugin inside the theme [closed]
- Display comments of users on single page
- Deactivate Plugin on Theme Switch
- Unable to install theme recommended plugins on Multisite
- More than one text-domain is being used because of the included templates for plugins
- How To Clean The Malware Infected & Hacked WordPress Websites? [duplicate]
- How to prevent users to download videos from lms website?
- How to get current post user id
- Different UI in WordPress
- Re-naming a theme/child theme whilst maintaining updates
- Hooking in to replace the Sidebar/Widget areas
- Child Pages Short Code plug-in and hover capabilities?
- Send reply with pre-prepared answers
- Homemade plugin while using Themify Ultra
- Why namespaces are rarely used in WordPress plugins?
- Theme/Plugin installation through url on button click
- Error when using plugin QuickCache with plugin Mobile Smart ? [closed]
- How do I find out what is in control over a certain part of a website?
- How do I combine a theme with a plugin
- Overwrite category head title
- Create a single website with 3 theme options in wordpress
- using do_shortcode
- Use different single.php file based on condition
- issue in wp_localize_script
- get_comments_number() returns 0
- How to remove products-links after the product title using remove_action
- How I update WordPress theme and plugins
- Overwrite add_image_size defined by theme
- Don’t load the theme for a page FROM a plugin EDITED
- Extending a theme: build new features as plugin or core modules?
- Detect plugin/theme installation (via upload)
- is there a way to pass a parameter to a add_menu_page function?
- What is the most efficient way of adding additional functionaliy for admin only
- How do I work with the SlideDeck plug-in?
- Plugin Admin panel checkbox unchecked after submit
- “User need to be logged in in order to make a booking” issue
- Custom Plugin scripts from admin working in frontend
- admin-ajax.php 500 error when new users try to register
- Why the internal link get converted into a comment?
- Elementor Sidebar not loading when PRO elements plugin is active
- Disable WordPress Theme Browser and Plugin Browser
- Sold out Label for variable products which are partially sold out
- Create automatic latest version link
- how to display a template.php in a shortcode
- how to split and upload a theme on wordpress?
- Fatal error: Class ‘RDTheme’ not found
- Comment restrictions Wodpress
- How to fix blog article view and share #’s?
- When the user entered an unauthorized url redirect to login page
- how to add navigation icons in specific template?
- How to see in Edit Comments if comment is from User and her Roles
- I want add repository theme folder
- Shows warning when enable “wp_gallery_custom_links” plugin with Themify Builder
- Speed issues because of CSS & JavaScript
- How to tell if a script is being executed from a plugin, a theme or a child theme in WordPress?
- Commentform – Hightlight invalid fields instead of prompting towards error page
- Theme comment callback results nothing
- Need Help Creating a Multi-Step, Video-Guided Enrollment Site
- which is this plugin ? [closed]
- How can I modify the colors of my theme for a single section of my site? [closed]
- How to work email subscribe in WordPress?
- how to change location of the plugins & wordpress themes folder
- How to add a plugin in WordPress theme directory?
- WP Customer Reviews call short code on another page [closed]
- Editing a theme
- Self-hosted Plugins & Themes store with auto-updates? [closed]
- How to Allow Users to Select Recipients In a WordPress Comment section?
- Very slow page loads
- WordPress theme is not displaying the correct home page in the Pages section
- How to create new title and its description inside a section in WP Customizer?
- Custom page template from plugin does not work with pre-installed themes in WordPress 6.6.1