Skip to:
Content

bbPress.org

Changeset 7154


Ignore:
Timestamp:
11/05/2020 10:13:14 PM (4 years ago)
Author:
johnjamesjacoby
Message:

Topics: fix not being able to unsticky in certain circumstances.

This commit adds a bbp_unstick_topic() call inside of bbp_update_topic() where it has been missing since forever.

In trunk, for 2.7. Fixes #3396.

File:
1 edited

Legend:

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

    r7137 r7154  
    771771                    break;
    772772
    773                 // We can avoid this as it is a new topic
     773                // Unsticky from everywhere
    774774                case 'unstick' :
    775775                default        :
     776                    bbp_unstick_topic( $topic_id );
    776777                    break;
    777778            }
Note: See TracChangeset for help on using the changeset viewer.