Making WordPress.org

Ticket #2498: meta-2498.3.patch

File meta-2498.3.patch, 1.1 KB (added by SergeyBiryukov, 7 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php

     
    6767         * Add "Resolved" status to title.
    6868         */
    6969        public function get_topic_title( $title, $topic_id ) {
    70                 // Don't run in the admin.
    71                 if ( is_admin() ) {
     70                // Don't run in the admin or in feeds.
     71                if ( is_admin() || is_feed() ) {
    7272                        return $title;
    7373                }
    7474
     
    7777                        return $title;
    7878                }
    7979
    80                 // Don't run when viewing a single topic or a topic edit page.
    81                 if ( bbp_is_single_topic() || bbp_is_topic_edit() ) {
     80                // Don't run when viewing a single topic, a single reply, a topic edit page, or a reply edit page.
     81                if ( bbp_is_single_topic() || bbp_is_single_reply() || bbp_is_topic_edit() || bbp_is_reply_edit() ) {
    8282                        return $title;
    8383                }
    8484