Making WordPress.org

Changeset 3906


Ignore:
Timestamp:
09/01/2016 04:26:13 AM (9 years ago)
Author:
jmdodd
Message:

Support Forums: Avoid checking plugin views for theme topic title modifications, and vice versa.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php

    r3902 r3906  
    9797            ( bbp_is_single_forum() && bbp_get_forum_id() == $this->forum_id() )
    9898        ||
    99             ( bbp_is_single_view() && ! in_array( bbp_get_view_id(), array( $this->compat(), 'reviews', 'active' ) ) )
     99            ( bbp_is_single_view() && ! in_array( bbp_get_view_id(), array( 'plugin', 'theme', 'reviews', 'active' ) ) )
    100100        ) {
    101101            $terms = get_the_terms( $topic_id, $this->taxonomy() );
Note: See TracChangeset for help on using the changeset viewer.