Making WordPress.org


Ignore:
Timestamp:
09/07/2016 06:16:58 PM (8 years ago)
Author:
jmdodd
Message:

Support Forums: Let Ratings_Compat handle the new topic/edit topic for the reviews view.

File:
1 edited

Legend:

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

    r3991 r3995  
    345345
    346346    /**
    347      * Add the new topic form at the bottom of appropriate views.
     347     * Add the new topic form at the bottom of appropriate views; the reviews view
     348     * form addition is handled by Ratings_Compat.
    348349     */
    349350    public function add_topic_form() {
     
    353354
    354355        $view = bbp_get_view_id();
    355         if ( ! in_array( $view, array( $this->compat(), 'reviews', 'active' ) ) ) {
     356        if ( ! in_array( $view, array( $this->compat(), 'active' ) ) ) {
    356357            return;
    357358        }
Note: See TracChangeset for help on using the changeset viewer.