Changeset 9041
- Timestamp:
- 07/12/2019 10:33:29 PM (5 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
r8638 r9041 13 13 abstract protected function slug(); 14 14 abstract protected function title(); 15 abstract protected function status(); 15 16 abstract protected function forum_id(); 16 17 abstract protected function query_var(); … … 706 707 $retval = bbp_current_user_can_publish_topics(); 707 708 } 709 710 if ( bbp_is_single_view() && 'reviews' === bbp_get_view_id() ) { 711 if ( 'plugin' === $this->compat() && 'publish' !== $this->status() ) { 712 $retval = false; 713 } 714 } 715 708 716 return $retval; 709 717 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin-directory-compat.php
r8617 r9041 44 44 function title() { 45 45 return $this->plugin->post_title; 46 } 47 48 function status() { 49 return $this->plugin->post_status; 46 50 } 47 51 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-theme-directory-compat.php
r8617 r9041 44 44 function title() { 45 45 return ! empty( $this->theme ) ? $this->theme->post_title : ''; 46 } 47 48 function status() { 49 return ! empty( $this->theme ) ? $this->theme->post_status : ''; 46 50 } 47 51
Note: See TracChangeset
for help on using the changeset viewer.