Making WordPress.org


Ignore:
Timestamp:
09/07/2016 07:13:46 PM (8 years ago)
Author:
jmdodd
Message:

Support Forums: Enable new/edit reviews.

These will be visible once the review forum is opened.

File:
1 edited

Legend:

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

    r3995 r3997  
    127127            // Instantiate WPORG_Ratings compat mode for reviews.
    128128            if ( class_exists( 'WPORG_Ratings' ) && class_exists( 'WordPressdotorg\Forums\Ratings_Compat' ) ) {
    129                 $this->ratings = new Ratings_Compat( $this->compat(), $this->slug(), $this->get_object( $this->slug() ) );
     129                $this->ratings = new Ratings_Compat( $this->compat(), $this->slug(), $this->taxonomy(), $this->get_object( $this->slug() ) );
    130130            }
    131131
     
    155155                // Instantiate WPORG_Ratings compat mode for reviews.
    156156                if ( class_exists( 'WPORG_Ratings' ) && class_exists( 'WordPressdotorg\Forums\Ratings_Compat' ) ) {
    157                     $this->ratings = new Ratings_Compat( $this->compat(), $this->slug(), $this->get_object( $this->slug() ) );
     157                    $this->ratings = new Ratings_Compat( $this->compat(), $this->slug(), $this->taxonomy(), $this->get_object( $this->slug() ) );
    158158                }
    159159
Note: See TracChangeset for help on using the changeset viewer.