Changeset 4917
- Timestamp:
- 02/18/2017 03:02:24 AM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin-directory-compat.php
r4916 r4917 105 105 106 106 $create_label = ''; 107 if ( $this->ratings&& $this->ratings->is_rating_view() && bbp_current_user_can_access_create_reply_form() ) {107 if ( isset( $this->ratings ) && $this->ratings->is_rating_view() && bbp_current_user_can_access_create_reply_form() ) { 108 108 $create_label = \WPORG_Ratings::get_user_rating( 'plugin', $this->slug(), get_current_user_id() ) ? 109 109 __( 'Edit Review', 'wporg-forums' ) : -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-theme-directory-compat.php
r4915 r4917 100 100 101 101 $create_label = ''; 102 if ( $this->ratings&& $this->ratings->is_rating_view() && bbp_current_user_can_access_create_reply_form() ) {102 if ( isset( $this->ratings ) && $this->ratings->is_rating_view() && bbp_current_user_can_access_create_reply_form() ) { 103 103 $create_label = \WPORG_Ratings::get_user_rating( 'theme', $this->slug(), get_current_user_id() ) ? 104 104 __( 'Edit Review', 'wporg-forums' ) :
Note: See TracChangeset
for help on using the changeset viewer.