Making WordPress.org

Ticket #2385: meta-2385.patch

File meta-2385.patch, 820 bytes (added by SergeyBiryukov, 8 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php

     
    7272                        return $title;
    7373                }
    7474
     75                // Don't run when displaying a title attribute via bbp_get_reply_title_fallback(), hooked to 'the_title'
     76                if ( doing_filter( 'the_title' ) ) {
     77                        return $title;
     78                }
     79
    7580                if ( 'yes' == $this->get_topic_resolution( array( 'id' => $topic_id ) ) ) {
    7681                        $title = sprintf(
    7782                                '<span class="resolved" aria-label="%s" title="%s"></span>',