[wp-trac] [WordPress Trac] #45282: Block Editor: Don't show the Custom Fields meta box option if the meta box has been removed
WordPress Trac
noreply at wordpress.org
Mon Nov 5 08:27:51 UTC 2018
#45282: Block Editor: Don't show the Custom Fields meta box option if the meta box
has been removed
--------------------------+---------------------
Reporter: pento | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: Editor | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by websupporter):
`$hidden_class = ( ! $screen->is_block_editor() && in_array( $box['id'],
$hidden ) ) ? ' hide-if-js' : '';`
to me it looks like this implicitly solves #45285
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45282#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list