Support » Plugin: bbAggregate » bbAggregate publishes a post to a stream on save even if status is not publish

  • Resolved rampurohit


    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

Viewing 1 replies (of 1 total)
  • Plugin Author BjornW


    Hi Ram,

    Thanks for your bug report and solution!

    I have included it in the trunk (revision 301758 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,

Viewing 1 replies (of 1 total)
  • The topic ‘bbAggregate publishes a post to a stream on save even if status is not publish’ is closed to new replies.