Opened 14 years ago
Closed 14 years ago
#19010 closed defect (bug) (fixed)
"Show on screen" checkboxes inconsistency with CPT
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.3 | Priority: | normal |
| Severity: | normal | Version: | 3.2.1 |
| Component: | Administration | Keywords: | has-patch |
| Focuses: | Cc: |
Description
With the "Book" CPT example from Codex:
On the initial "Edit Book" screen load (i.e. when there's no metaboxhidden_book record in wp_usermeta), all meta boxes are displayed, but only "Featured Image" is checked in "Show on screen" options (see the screenshot).
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Being called from
meta_box_prefs()anddo_meta_boxes(),get_hidden_meta_boxes()returns different results, due to different$screenvalues.In
meta_box_prefs(), it's:In
do_meta_boxes(), it's:Note the difference in
basevalue.Not sure what the preferred option is, but 19010.patch at least makes it consistent.