[wp-trac] [WordPress Trac] #46482: Non-hierarchical taxonomies using checkbox display are not saving in quick edit
WordPress Trac
noreply at wordpress.org
Wed Mar 13 15:52:28 UTC 2019
#46482: Non-hierarchical taxonomies using checkbox display are not saving in quick
edit
----------------------------+-----------------------------
Reporter: mooberrydreams | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 5.1
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
**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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46482>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list