helgatheviking / Radio-Buttons-for-Taxonomies

Turn any WordPress taxonomy into a list of radio buttons, which forces users to select only 1 term!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update usage of editor.PostTaxonomyType

annezazu opened this issue · comments

Pinged you in slack but, to be safe, wanted to alert you to this PR in Gutenberg that's planned: WordPress/gutenberg#33418 TLDR: it removes all props aside from “slug” from the filtered component and is likely to be a breaking change for the Radio Buttons for Taxonomies plugin based on checking against https://www.wpdirectory.net/. More details are on that PR!

commented

Hi Anne, Thanks for reporting this. I still don't really know React at all so in looking at the changes they don't make any sense to me.

I'm not sure when I'll have time to dig in to something this complex. Not sure this plugin is worth that kind of effort.

Hi, @helgatheviking

I think your plugin won't require any changes. However, I would recommend testing it to be just sure when Gutenberg 11.3 is released.

commented

At a minimum, I'll need to duplicate the updated script and apply the radio button changes. Then serve two different scripts depending on the user's WP version. That's not too terrible... assuming the patches work with the updated gutenberg script.

commented

Hi @annezazu How would I version test for this? Or otherwise know when this might be the script being used?