Changeset 3997 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
- Timestamp:
- 09/07/2016 07:13:46 PM (8 years ago)
- 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 127 127 // Instantiate WPORG_Ratings compat mode for reviews. 128 128 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() ) ); 130 130 } 131 131 … … 155 155 // Instantiate WPORG_Ratings compat mode for reviews. 156 156 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() ) ); 158 158 } 159 159
Note: See TracChangeset
for help on using the changeset viewer.