Thanks for all of your answers guys. Finally I found solution for me issue.
Once the post is published we can add comments. If the post is pending it won’t allow administrators to add a new comment.
The answer is simple, if we publish the post we can add comments.
Related Posts:
- Diplay comment date on WP_Post_Comments_List_Table
- How to add an admin notice upon post save/update
- How to make comments work for a post loaded per Ajax?
- Change label of title field for posts in the backend
- Allow variable amount of comments before pagination
- Exclude drafts in all() view of edit.php
- get comments and get posts in loop
- How to Arrange Posts by Size in the WordPress Dashboard?
- List latest posts in WP-Admin
- Open WordPress ‘Add New Post’ admin page with parameters set via $_GET
- using slug instead of ID in admin edit post url
- Categories box not showing on post edit pages
- How to display comments and comment form on custom post type?
- Comments are assigned to wrong or related post
- How can I allow editors to leave comments on posts that have not yet been published?
- Update post date on every new comment?
- Include Sticky Post in Page Posts Count?
- One comment per user email per post
- Can’t show comments count per post outside loop
- Make “Post published. View post” Open in a New Tab
- Only display posts with comments
- Comments enabled, but disabled at the same time
- Comments not showing in custom post type – WordPress
- How to output comments number of a post per day?
- How to get new post URL?
- Enable commenting on front-end preview page for pending posts
- Hide comments awaiting moderation from user who submitted the comments
- How to remove bulk edit options
- Add confirmation popup on “Move to Trash”
- Embed WordPress Admin in an iframe
- Can’t publish, edit or delete posts since Gutenberg update
- Send email to user that his post has been rejected
- Add filter-by-tag in the all posts admin console page
- Remove some articles from the list in WPAdmin for a user
- How to place HTML below the title of the (custom) post overview
- How do I allow users to follow a post and then allow admins to email all users who have followed that post?
- display list of posts/pages in admin edit post/page
- Hide Post comments when displayed via WP_Query
- Including new Javascript only after a comment is made
- Custom Theme Want To Remove One Category From All Displays
- Disable Post/Page comment emails for creators
- Invalid post type when click “Filter” or “Apply” button in WordPress admin Post list [closed]
- Display posts with comments closed, with pagination?
- How to change the title url on the edit post screen?
- Change Order of Admin Posts Depending on Meta
- Why is WordPress redirecting users to random posts after commenting?
- How to get most recent commented post above new submitted post in WordPress?
- When trashing a post, also trash related comments
- how to find user ids of all commenters in a post
- Change default Posts page
- Posts vs. Pages
- count the total number of comments the user has received for his published posts
- How to Orderby Comments by post title?
- I am unable to publish/update post
- Disable inline_edit() on edit.php
- If modified on same day, show only time
- How to allow logged in users to post anonymously
- WordPress’ ALL post count info on its dashboard does not match phpMyAdmin’s ALL post count!
- Email entire post contents
- Query get post,how to add comment box
- Classic editor throws 403 error based on post content
- Update all comments time to random dates?
- Display Meta Values in Custom Filter – Admin Custom Posts
- Enable Comments Box On Custom Post Type
- Turn On Comments On Custom Post Types in Directory Theme
- Lost draft under all posts and drafts
- Emojis replaced by ‘?’ automatically
- Move comments only from one WP installation to another
- Second comments section for one post/page
- A friend wants to make a comment on one of my articles, she has to be logged to wordpress?
- Simultaneous admin updates causes custom fields to not update
- Get all images in post and comments like Twitter before post title
- Is it possible to paste a link without tags and make it directly a link in a post?
- Showing author page if user has no post
- Hook in to add new post link wp admin?
- Customizing Comments on Posts
- plugin to post from admin to flickr [closed]
- WordPress Comment posting problem
- What do comments with […] mean?
- What do these phpMyAdmin errors mean on my WordPress databaes?
- Internal post link creates comments on its own
- How to get posts and comments amount per hour, per year and per month?
- Retrieve only posts from a specific user in wp-admin/edit.php
- Adding an Archive button to posts page for administrators
- Show comment number per author per day
- Get all comments of author’s posts
- Develop Admin Panel Page
- How show categories in admin and get that selected to show posts in index
- SQL Command for restoring trashed comments
- Howto show comment count by post in post?
- Change post-slug using wordpress API? Change permalink of a post using php / jquery?
- How do you change the comment count in the back end posts list, to reflect unapproved comments, rather than all comments?
- Hide comments and posts posted by other user
- Let both the admin and post author update comment meta
- Fast publishing in wordpress
- Which file do I need to edit the All Posts page in the admin area?
- How do you search for a post or page with a certain url on the WordPress admin panel?
- How to style archive post titles… but only those posts who have comments?
- How to get the old WordPress Draft Editor view back with the Word count?
- Change the color of the Password Protected Post titles