WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Support for custom post types bug (2 posts)

  1. enej
    Member
    Posted 1 year ago #

    Hi
    I think the plugin works great. Thanks for creating it. However I think I found a bug.
    When you are in the list pages dashboard and you click on the authors name to bring up all the pages that the author created you end up on posts that the author created.

    The something happend when you are under any custom post type.
    To fix it you need to change the line 296 in the co-authors-plus.php file to
    <a href="<?php echo esc_url( get_admin_url( null, 'edit.php?post_type='.$post->post_type.'&author=' . $author->ID ) ); ?>"><?php echo esc_html( $author->display_name ); ?></a><?php echo ( $count < count( $authors ) ) ? ',' : ''; ?>

    Cheers

    http://wordpress.org/extend/plugins/co-authors-plus/

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Great catch! I've pushed a fix that will be out in the next release

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic