Steps to Reproduce
- Go to any existing page's edit screen.
- Change the title and update the page.
- Tailor the page - make any change and save it.
- Go back to edit screen, see title is reverted to previous title.
This is due to this function:
|
public function update_post_title( $post_id ) { |
|
|
|
$saved_title = get_post_meta( $post_id, '_post_title', true ); |
|
|
|
if ( false != $saved_title ) { |
|
wp_update_post( array( |
|
'ID' => $post_id, |
|
'post_title' => $saved_title |
|
) ); |
|
} |
|
} |
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.
Steps to Reproduce
This is due to this function:
tailor/includes/class-panels.php
Lines 384 to 394 in fd69c68
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_titlemeta key so they stay synced in both directions.