WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Bug? Report and solution (4 posts)

  1. transom
    Member
    Posted 2 years ago #

    I am using Co-authors Plus on a site lots of new custom post types. Your plugin runs its filter across all queries - but 1) assumes that wp_query is the target and 2) assumes all items in the wp_post table are included in the co-authors taxonomy.

    This leads to odd results.

    I have modified the code to "fix" this. Gist - https://gist.github.com/2636235
    Take a look at the posts_where and posts_join filters for the core of my "fix"

    - Tom

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Mind submitting this as a pull request so it's easier to visualize the changes? Thanks

  3. transom
    Member
    Posted 2 years ago #

    If only I was a regular Git user, but yes I'll do this in a day or so.

  4. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Thanks for the contribution! We'll be releasing it in v2.7 which should be out in the next few weeks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic