Skip to:
Content

bbPress.org

Changeset 7095


Ignore:
Timestamp:
06/04/2020 04:49:07 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 branches/2.6, for 2.6.6.

See #3376.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/src/includes/replies/functions.php

    r7047 r7095  
    952952
    953953                // Only update if reply is published
    954                 if ( bbp_is_reply_pending( $reply_id ) && ! bbp_is_topic_pending( $topic_id ) ) {
     954                if ( ! bbp_is_reply_pending( $reply_id ) && ! bbp_is_topic_pending( $topic_id ) ) {
    955955
    956956                    // Last topic and reply ID's
Note: See TracChangeset for help on using the changeset viewer.