Skip to:
Content

bbPress.org

Changeset 7096


Ignore:
Timestamp:
06/04/2020 04:49:54 PM (20 months ago)
Author:
johnjamesjacoby
Message:

Replies: Correct inverted logic in bbp_update_reply_walker().

This commit fixes a bug causing Forum Category metadata to not be updated when publishing a reply.

Props vbadham.

In trunk, for 2.7.0.

Fixes #3376.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/replies/functions.php

    r7046 r7096  
    953953
    954954                // Only update if reply is published
    955                 if ( bbp_is_reply_pending( $reply_id ) && ! bbp_is_topic_pending( $topic_id ) ) {
     955                if ( ! bbp_is_reply_pending( $reply_id ) && ! bbp_is_topic_pending( $topic_id ) ) {
    956956
    957957                    // Last topic and reply ID's
Note: See TracChangeset for help on using the changeset viewer.