Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/05/2020 10:11:45 PM (5 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 branches/2.6, for 2.6.6. See #3396.

File:
1 edited

Legend:

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

    r7136 r7153  
    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.