Make WordPress Core

Opened 3 months ago

#51753 new defect (bug)

Block editor: hide Custom Fields from Options screen (when custom fields are not supported)

Reported by: Guido07111975 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.2
Component: Editor Keywords:
Focuses: Cc:



Although support for Custom Fields is not declared while registering a post type, the Custom Fields checkbox is still being displayed at the Options screen. Check attachment. Same applies when removing the Custom Fields metabox from editor by using remove_meta_box.
But it's not possible to activate the Custom Fields panel in the editor. Checkbox stays empty.
Custom Fields must be hidden from the Options screen.
In classic editor no issue.

And the "Post" attributes label for posts is accidentally called "Page" attributes. Check attachment.


Attachments (2)

Screen options block.jpg (47.3 KB) - added by Guido07111975 3 months ago.
Screen options classic.jpg (32.6 KB) - added by Guido07111975 3 months ago.

Download all attachments as: .zip

Change History (2)

Note: See TracTickets for help on using tickets.