• Hi guys,

    just reporting a weird behavoiur.
    I’m using Types plugin to manage custom post types and I’ve noticed that co.authors plus overwrites author of child post while editing a parent post.

    According to Types support staff we end up finding a patch for this

    In function coauthors_set_post_author_field triggered on action wp_insert_post_data ( file co-authors-plus.php, line: 681 ) is missing check current post id with $_POST[‘id’].
    Adding to co-authors-plus.php this code, should avoid issue:

    691         global $post;
    692         if ( $post->ID != $_POST['ID'] ) {
    693             return $data;
    694         }

    Hope you can add this little check in the next release.
    Thanks

    Carlo

    https://www.ads-software.com/plugins/co-authors-plus/

  • The topic ‘Co-author plus overwriting child content – wp-types’ is closed to new replies.