[wp-trac] [WordPress Trac] #57364: remove_meta_box for commentstatusdiv stores null value for comments configuration.

WordPress Trac noreply at wordpress.org
Wed Dec 21 10:46:16 UTC 2022


#57364: remove_meta_box for commentstatusdiv stores null value for comments
configuration.
----------------------------+-----------------------------
 Reporter:  phlegx          |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Comments        |    Version:  6.1.1
 Severity:  normal          |   Keywords:  needs-patch
  Focuses:  administration  |
----------------------------+-----------------------------
 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.

 Example:

 - 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**

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57364>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list