Changeset 4922 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin-directory-compat.php
- Timestamp:
- 02/18/2017 11:22:10 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin-directory-compat.php
r4918 r4922 106 106 $create_label = ''; 107 107 if ( isset( $this->ratings ) && $this->ratings->is_rating_view() && bbp_current_user_can_access_create_topic_form() ) { 108 $create_label = \WPORG_Ratings::get_user_rating( 'plugin', $this->slug(), get_current_user_id()) ?108 $create_label = $this->ratings->review_exists() ? 109 109 __( 'Edit Review', 'wporg-forums' ) : 110 110 __( 'Add Review', 'wporg-forums' );
Note: See TracChangeset
for help on using the changeset viewer.