WordPress.org

Support

Support » Plugins and Hacks » bbAggregate » [Resolved] bbAggregate publishes a post to a stream on save even if status is not publish

[Resolved] bbAggregate publishes a post to a stream on save even if status is not publish

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

    Solution:
    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

    http://wordpress.org/extend/plugins/bbaggregate/

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

    @bjornw

    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,
    BjornW

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