pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Relationship Field Sync Taxonomy: Checkbox & Unblock Sync #7336

Closed pdclark closed 1 month ago

pdclark commented 1 month ago

Description

Related GitHub issue(s)

7334

Changelog text for these changes

Bug: Relationship Field Taxonomy Sync now works correctly and presents as checkbox. User Interface for taxonomies using this feature should be hidden in taxonomy Admin UI settings to avoid confusion, as changes relationship field will update core taxonomy, but core taxonomy user interfaces will not update relationship field. @pdclark

PR checklist

what-the-diff[bot] commented 1 month ago

PR Summary

pdclark commented 1 month ago

@sc0ttkclark The change might have unexpected behavior for odd combinations of bidirectional fields AND taxonomy sync. Something to look at before editing further or committing the change. Perhaps would be easier to verify if the taxonomy sync and bidirectional sync logic were split into two new methods with necessary sanity checks at the start of each method.

sc0ttkclark commented 1 month ago

More tweaks coming post merge