[wp-trac] [WordPress Trac] #45285: Custom Fields do not show up
WordPress Trac
noreply at wordpress.org
Mon Nov 5 08:22:50 UTC 2018
#45285: Custom Fields do not show up
--------------------------+---------------------
Reporter: websupporter | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: Editor | Version: 5.0
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by websupporter):
#45282 seems to fix this problem currently as well, at least
```
$hidden_class = ( ! $screen->is_block_editor() && in_array( $box['id'],
$hidden ) ) ? ' hide-if-js' : '';
```
seems to be another solution to it. This effectively would mean to not
take `get_hidden_meta_boxes()` into account. So, this function from now on
serves only on \WP_Screens which do not serve Gutenberg.
There are two filters:
* `default_hidden_meta_boxes`
* `hidden_meta_boxes`
They would have no longer effect for Gutenberg-Screens.
Thinking about it, this might make sense to deprecate those filters for
Gutenberg-Screens.
Given this usage:
```
What `hidden_meta_boxes` did for the old editor was essentially always
hide t
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45285#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list