Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#49441 closed defect (bug) (reported-upstream)

Problem with custom taxonomy

Reported by: peter123123's profile peter123123 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

There is a problem with custom taxonomy and gutenberg!
If I set:

metà_box_cb' => 'post_categories_meta_box',

With the classic editor it works but not with gutenberg!
For example if I want a taxonomy like yah but with the view (checkbox) of the categories!

Change History (2)

#1 @ocean90
5 years ago

  • Focuses rest-api removed
  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Severity changed from major to normal
  • Status changed from new to closed
  • Version 5.3.2 deleted

Hello @peter123123, welcome to WordPress Trac!

Thanks for your report. The meta_box_cb argument does not get used in the block editor. You have to implement it by using JavaScript. I suggest to take a look at https://github.com/WordPress/gutenberg/issues/6912 which has some helpful resources.

#2 @SergeyBiryukov
5 years ago

  • Component changed from Customize to Editor
Note: See TracTickets for help on using tickets.