Skip to:
Content

bbPress.org

Ticket #2741: 2741.diff

File 2741.diff, 643 bytes (added by tharsheblows, 9 years ago)
  • src/includes/admin/replies.php

     
    321321                // Get reply author data
    322322                $anonymous_data = bbp_filter_anonymous_post_data();
    323323                $author_id      = bbp_get_reply_author_id( $reply_id );
    324                 $is_edit        = (bool) isset( $_POST['save'] );
     324                $is_edit        = $_POST['hidden_post_status'] != 'draft' ? true : false;
    325325
     326
    326327                // Formally update the reply
    327328                bbp_update_reply( $reply_id, $topic_id, $forum_id, $anonymous_data, $author_id, $is_edit, $reply_to );
    328329