• We had an issue with an interaction with co-author’s plugin, such that no posts were shown to share for either “My posts” or “Other’s posts”

    Fix we put in place was to change the “other’s posts” to just specifically exclude “my unpublished.” rather that search on ‘not my authorship’ because of the plugin interaction posts with a specifically selected author, were not coming up as “mine” but also were not returned with the existing query

    ‘author’ => -$current_user->ID,

    $others_unpublished = get_posts(array(
                    'post_status' => $unpublished_statuses,
                    'exclude' => array_column($my_unpublished, 'ID'),
                    //'author' => -$current_user->ID,
                    'suppress_filters' => false,
                    'perm' => 'editable',
                ));
  • The topic ‘Posts to share not listed’ is closed to new replies.