WordPress.org

Make WordPress Core

Opened 10 months ago

Closed 5 months ago

#45983 closed defect (bug) (wontfix)

Sidebar components no longer include an ID

Reported by: schultz46123 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.0.3
Component: Editor Keywords:
Focuses: Cc:
PR Number:

Description

With the new Gutenberg editor the sidebar components are missing IDs. This prevents the use of the remove_meta_box function.

Change History (2)

#1 @swissspidy
10 months ago

  • Component changed from General to Editor
  • Keywords close added

You can't use remove_meta_box to remove sidebar panels in the new Gutenberg editor. Use removeEditorPanel instead.

See https://wordpress.org/gutenberg/handbook/designers-developers/developers/data/data-core-edit-post/#removeeditorpanel

Last edited 10 months ago by swissspidy (previous) (diff)

#2 @pento
5 months ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.