Changes between Initial Version and Version 1 of Ticket #36462, comment 7
- Timestamp:
- 05/23/2016 11:06:19 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36462, comment 7
initial v1 3 3 I've added two hidden fields in meta-boxes.php, one for comment_status and the other for ping_status. Then I removed the code in post.php where it closes the comments and ping_status if the POST data is missing. 4 4 5 I checked and by default, if the POST data is missing both fields are set to what they currently are, so nothing is changed in that case. Then if the POST data does exist, then it'll set theaccordingly. This is exactly what we want.5 I checked and by default, if the POST data is missing both fields are set to what they currently are, so nothing is changed in that case. Then if the POST data does exist, both fields are set accordingly. This is exactly what we want. 6 6 7 7 Of course this is just for these two checkboxes, this should probably be expanded to work for other checkboxes so I'm not sure how to go about that here.