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]
- Tips for using WordPress as a CMS? [closed]
- What Are Security Best Practices for WordPress Plugins and Themes? [closed]
- How to get the active theme’s slug?
- Disable saving comment details (name, e-mail) in cookie?
- Disabling Comment Notifications for Post Author
- Disable author pages for specific users
- Set active theme via URL
- Notify commenters about new replies
- Don’t send notification if author comments his own post plugin help?
- Migrating a File from Plugin to Theme and changing its path → instead create a REST endpoint
- dequeue not work
- I can’t upload a new wordpress theme from a zipped file
- Plugin: How should I handle deleting comments?
- Akismet plugin is deleting spam despite preferences
- Get list of sites that uses specific plugin or theme
- Is there a reliable way to keep track of how long a WordPress theme has been active?
- Woocommerce sidebar not loading in theme
- Include Max mega menu Plugin into theme
- How to remove all javascript in a theme wordpress?
- wordpress theme backend admin only
- Deactivate Plugin on Theme Switch
- How To Clean The Malware Infected & Hacked WordPress Websites? [duplicate]
- How to get current post user id
- Re-naming a theme/child theme whilst maintaining updates
- Unable to upload wordpress plugins
- The problem with WordPress Importer
- How to disable CSS rule in Twentythirteen style.css?
- Linux Permissions and Ownership for WordPress
- Fatal error: Call to undefined function cmsms_theme_page_layout_scheme()
- Homemade plugin while using Themify Ultra
- Disqus deleted comments are syncing with wordpress but active comments do not
- Theme/Plugin installation through url on button click
- How can I position ShareThis buttons manually when using the plug-in? [closed]
- Notify comment author upon reply
- Does WP delete deprecated plugin/theme files on plugin/theme upgrade?
- How to use get_template part in the plugin?
- How can I use get header from within my plugin?
- My single.php page does not show the related data to the post which is clicked
- Is there a specific term for Plugins that are specified in a WordPress Post using Comments?
- Basic gallery plugin suggestion [closed]
- How to write “alt” tag in image for wordpress code?
- How to activate a plugin on the activation of a theme?
- WordPress plugin won’t show on some themes
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Theme My Login Shortcode Doesn’t Return Anything
- Include Minit plugin in theme [closed]
- get_comments_number() giving wrong results! What are alternatives?
- How do I add a plugin dependency to my customized theme?
- Inserting Plugins Into Blank Space of Externally Designed WordPress Theme
- Comment Approve – Add custom function when comment is approved
- how to add a comment button to be displayed only for the posts in the home page [closed]
- Cannot add edit themes and add plugins after multisite update
- Error: Can´t access facebook comment plugin admin page
- Remove updates text on plugin or themes list page
- How to prevent plugin, theme installation failures on WordPress?
- Edit all $wp_scripts at once to $in_footer = false
- Remove a div class with condition
- How Can I Increase Breadcrumb Position Count (Starting From 2)?
- Main content of site not showing, but does show when logged in to wp-admin
- Hide Plugin Custom Post Type Menu Link
- How to display replies to his comments in user profile of current user
- Hooking into the HTML header container
- Set up new WordPress domain using unclear files
- Genesis Child Theme – Customize body
- Unable to activate themes on localhost
- How to roll back WordPress version or prevent migration from forcing update?
- Multisite converted to Single Site can’t add new plugins or new themes
- why my wordpress dont have toolbar like, plugin, themes and other?
- How to add a class to comment submit button?
- How to link file or image from wordpress plugin dir to theme by using themes function.php, is it possible?
- Using activated_plugin to run code
- Theme styling for plugins
- Creating themes using the one Plugin (Toolkit)
- jquery-issue: cannot load the basic jquery
- Template from scratch: Sidebars not showing widget
- Why do I get this “peer’s certificate issuer not recognised” error when trying to install a theme?
- Site is setup statically – how to make it content managable?
- Javascript as Jquery Function Call?
- Any plugin/theme available which suits my requirement? [closed]
- Two sites one PC
- How to escape html code?
- Elementor with system colors instead of kit colors [closed]
- Am having issues intergrating this api into my wordpress site, any help please?
- Transfer wordpress comments form on another post [closed]
- Prevent primary navigational menu from expanding during page load (WordPress / Astra Theme)