Open JustinSainton opened 6 years ago
To override this we just remove_all_actions( 'tailor_save_settings' );
, but yeah this is a pain.
Definitely! Considered that approach as well, but it seemed prone to unintended consequences.
Our likely approach here will be something like this in a functionality plugin:
remove_action( 'tailor_save_settings', array( tailor_panels(), 'update_post_title' ) );
This approach likely works for us as we don't anticipate making use of the title field in Tailor that this affects.
oh for sure, that too!
Steps to Reproduce
This is due to this function: https://github.com/Enclavely/tailor/blob/fd69c688257500d6b633795c41e0a34097fa7c1d/includes/class-panels.php#L384-L394
I'm unclear at the moment on what the best way to address this. Current working theory is that it probably makes sense to hook into post title changes and update the
_post_title
meta key so they stay synced in both directions.