[resolved] bbAggregate publishes a post to a stream on save even if status is not publish (2 posts)

  1. rampurohit
    Posted 5 years ago #

    I'm using this plugin now successfully and it has been great so far. I had requirement to show a blog stream from member blogs in the main blog.

    I have observed one problem wherein the plugin includes the post in a blog stream when a user saves a draft of the post and the blog stream is checked. This publishes the pending posts of contributers while they are being moderated.

    bbaggregate/bbAggregate.php: function save_post_stream_data: added condition && $_POST['post_status'] == 'publish'. Now the changed code is:
    if( isset($_POST['bbagg_stream_ids']) && ! empty($_POST['bbagg_stream_ids']) && $_POST['post_status'] == 'publish' ) {

    Thanks for the great plugin
    Ram Purohit


  2. BjornW
    Plugin Author

    Posted 5 years ago #

    Hi Ram,

    Thanks for your bug report and solution!

    I have included it in the trunk (revision 301758 http://plugins.trac.wordpress.org/changeset/301758/bbaggregate) version of the plugin. I plan on releasing a new version of the plugin at the beginning of November 2010 which will include your fix and some other changes brought forward by some other users of this plugin.

    All the best,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • bbAggregate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic