Make WordPress Core

Opened 3 years ago

#46482 new defect (bug)

Non-hierarchical taxonomies using checkbox display are not saving in quick edit

Reported by: mooberrydreams Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.1
Component: Taxonomy Keywords:
Focuses: Cc:


What steps should be taken to consistently reproduce the problem?
1) Register a custom taxonomy with these arguments to make a non-hierarchical taxonomy use checkbox display*:

'meta_box_cb' => 'post_categories_meta_box',			
'meta_box_sanitize_cb' => 'taxonomy_meta_box_sanitize_cb_checkboxes'

* I am aware it does not display this way with Gutenburg, but not everyone uses Gutenburg and CPTs do not use Gutenburg

2) Quick Edit a post of a post type that uses the custom taxonomy

3) Add terms to the custom taxonomy

4) Click Update

What is the expected output or result? What did you see instead?

The terms entered into taxonomy field should be added to the post. Instead, all terms are removed from the post for this taxonomy.

Change History (0)

Note: See TracTickets for help on using tickets.