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

  1. enej
    Posted 4 years ago #

    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 ) ) ? ',' : ''; ?>



  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 4 years 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

  • Co-Authors Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic