Making WordPress.org

Changeset 4643


Ignore:
Timestamp:
01/12/2017 07:03:15 PM (8 years ago)
Author:
coffee2code
Message:

Support Forums, Topic Resolution: Fix conditions for display of resolved topic indicator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php

    r4639 r4643  
    8888     */
    8989    public function single_topic_resolved_indicator() {
    90         $topic_id = bbp_get_topic_forum_id();
     90        $topic_id = bbp_get_topic_id();
    9191
    9292        if (
     
    9898            ||
    9999            // Must be a resolved topic
    100             'yes' == $this->get_topic_resolution( array( 'id' => $topic_id ) )
     100            'yes' !== $this->get_topic_resolution( array( 'id' => $topic_id ) )
    101101        ) {
    102102            return;
Note: See TracChangeset for help on using the changeset viewer.