Post title overwritten on update
Issue #40
new
I'm using the following code to update a post via a gravity form:
<?php $id = get_the_id();
echo do_shortcode('[gravityform id="4" title="false" description="false" update="'.$id.'"]'); ?>
On updating the form my ACF fields are updated but the standard WordPress title gets changed to "Update_2", if I update again it just changes to "Update_3" and so on.
The CPT post already had a title, as soon as I updated it just changes to the above.
All plugins and core are running the latest as of this point.
Comments (1)
-
reporter - Log in to comment
I've solved this but seems there's a bug in the plugin. I've just added on a hook to override the title after submission. It doesn't solve the initial problem, it just corrects it after.