Support » Plugin: Verve Meta Boxes » [Plugin: Verve Meta Boxes] trashing and untrashing clears postmeta

Viewing 3 replies - 1 through 3 (of 3 total)
  • That seems to work for me as well. I hope it’s an acceptable method. Thanks for the snippet!

    This problem also exists when you revert to a previous version of a post using the WordPress revision system: all the VMD metadata is lost.

    This is a major bug, I’ve also sent an email about it to the author. Hopefully all instances of this problem will be fixed in the next version.

    I’m no WP coding expert, but I don’t think that the workaround posted above is sufficient.

    Thanks, I hadn’t considered revisions. The following alternate workaround (also for insertion in the top of function verve_save_postdata) will cause postmeta storage to be skipped for all instances that are not the normal edit form Save/Update/Publish:

    if ( empty( $_POST ) || ( false === strpos( $_SERVER['SCRIPT_NAME'], 'wp-admin/post.php' ) ) ) { return; }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Verve Meta Boxes] trashing and untrashing clears postmeta’ is closed to new replies.