Checkbox doesn’t display in the meta box
-
Hello.
I don’t know if this is a recent update or maybe something to do with WP itself, but the checkbox to disable fFatherlight doesn’t show in the metabox during page/post edit. It does however show in the “Publish” box, at the bottom of the box.
The problem is that in admin/class_meta.php there’s two functions that can render the box, which are options_callback() that gets called from add_meta_boxes(), and meta_box_view(). options_callback renders into the metabox, and meta_box_view looks like it’s rendering into the “Publish” box(i think). The problem is that both of these fetch the meta-box.php template using require_once(), and if the checkbox gets fetched into the “Publish” box, it won’t show up in the Featherlight metabox.
I think this is extremely confusing, because some user might see the Featherlight meta box empty, not notice the checkbox in the Publish box, and think that there is something wrong with the plugin or that something broke. I would suggest that the checkbox be rendered in the metabox no matter what.
- The topic ‘Checkbox doesn’t display in the meta box’ is closed to new replies.