WordPress.org

Make WordPress Core

Opened 2 weeks ago

Closed 2 weeks ago

Last modified 2 weeks ago

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

Problem with custom taxonomy

Reported by: 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
2 weeks 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
2 weeks ago

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