save_state() in postbox.js should look at the hidden checkboxes instead of :hidden
|Reported by:||markoheijnen||Owned by:|
|Component:||Editor||Keywords:||dev-feedback has-patch 2nd-opinion|
At this moment save_state() looks at all the metaboxes that are really hidden with filter(':hidden'). With can lead to weird behavior when a plugin starts to hide a metabox in some cases since it can be showed/hidden by default.
I was wondering if it is possible to look at the checkboxes and mapped them as a string and pass it to the AJAX action closed-postboxes.