WordPress.org

Making WordPress.org

Changeset 4115


Ignore:
Timestamp:
09/22/2016 05:22:01 PM (4 years ago)
Author:
coffee2code
Message:

Support Forums: Remove new topic form from the /active custom view.

Fixes #2047.

File:
1 edited

Legend:

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

    r4047 r4115  
    452452
    453453        $view = bbp_get_view_id();
    454         if ( ! in_array( $view, array( $this->compat(), 'active' ) ) ) {
     454        if ( ! in_array( $view, array( $this->compat() ) ) ) {
    455455            return;
    456456        }
     
    465465
    466466        $view = bbp_get_view_id();
    467         if ( ! in_array( $view, array( $this->compat(), 'reviews', 'active' ) ) ) {
     467        if ( ! in_array( $view, array( $this->compat(), 'reviews' ) ) ) {
    468468            return;
    469469        }
Note: See TracChangeset for help on using the changeset viewer.