Make WordPress Core

Opened 18 months ago

Last modified 12 months ago

#57364 new defect (bug)

remove_meta_box for commentstatusdiv stores null value for comments configuration.

Reported by: phlegx's profile phlegx Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.1.1
Component: Administration Keywords: needs-patch reporter-feedback
Focuses: administration Cc:


Removing meta box commentstatusdiv for e.g. some user roles stores null value for comments configuration in database, after a user without that meta box stores the post.


  • post edit as admin with commentstatusdiv meta box
  • meta box commentstatusdiv -> Allow comments is activated
  • Post edit as user without commentstatusdiv meta box
  • save post as user
  • post edit as admin
  • meta box commentstatusdiv -> Allow comments is deactivated

Change History (4)

#1 @phlegx
18 months ago

  • Component changed from Comments to Administration

#2 @zamandevs
16 months ago

Tested and not produced what was stated above. I have tried with different roles i.e admin, editor, etc. @phlegx Could you please be more specific on how to reproduce step by step?

#3 @metodiew
14 months ago

I've tried following the steps from above with the Classic Editor plugin enabled, as commentstatusdiv is not available with the block editor but I'm not able to reproduce this behavior.

If you can record the behavior that would be amazing!

I've tried with admin and editor user roles.

#4 @lopo
12 months ago

  • Keywords reporter-feedback added
Note: See TracTickets for help on using tickets.