WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Co-Authors Plus] Support for custom post types bug

[Resolved] [Plugin: Co-Authors Plus] Support for custom post types bug

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Co-Authors Plus] Support for custom post types bug’ is closed to new replies.