helgatheviking / Radio-Buttons-for-Taxonomies

Turn any WordPress taxonomy into a list of radio buttons, which forces users to select only 1 term!
53 stars 28 forks source link

Always revert to default post category on quick edit #83

Closed michelesalvador closed 3 years ago

michelesalvador commented 3 years ago

Hi, I think there is an issue on Posts > Quick Edit. In every case when click Update the category saved is always only the default post category. The only way to choose another category on quick edit is deactivate RB4T.

helgatheviking commented 3 years ago

Hi Michele, I can't reproduce what you are describing. Can you elaborate? Take a screen recording?

Here's what I'm seeing: https://share.getcloudapp.com/WnuromrZ

Are you using the latest version from the wordpress.org plugin repo? The version here is a little bit ahead of that and hasn't been published to .org yet, but the changes so far have largely been in the script and in the bulk edit. Though there's a possibility the bulk edit issue is related to the issue you might be having in quick edit. Could you try the latest from the master branch and see if that resolves things for you?

michelesalvador commented 3 years ago

I'll try to explain with screenshots.

In Writing Settings > Default Post Category the "Notizie" category is selected.

immagine

In Posts there is a post with another category ("Collegamenti"). I click Quick Edit on this post.

immagine

I do nothing else that simply click Update.

immagine

Now the post has incorrectly the "Notizie" category.

immagine

Yes, I'm using latest version of RB4T (2.1.0) from the wordpress.org plugin repo.

immagine

michelesalvador commented 3 years ago

I downloaded the zipped code from this repository and replaced all the files in plugins > radio-buttons-for-taxonomies. Yes! This issue is solved: post categories are now correctly taken.

helgatheviking commented 3 years ago

Phew! Thank you for testing that. I will try to push the changes to the .org as soon as I can. I was waiting on fixing something in the gutenberg sidebar, but perhaps I can release this as is.

michelesalvador commented 3 years ago

I updated to version 2.1.1 and I confirm that this issue is fixed.

helgatheviking commented 3 years ago

Closed by 409e342f4151b1dc35f3b624369cccb85bafacc7