Changeset 10355
- Timestamp:
- 10/07/2020 04:38:34 AM (4 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
r9857 r10355 111 111 112 112 public function do_topic_sidebar() { 113 if ( ! $this->plugin ) { 114 return; 115 } 116 113 117 if ( file_exists( WPORGPATH . 'wp-content/plugins/plugin-directory/class-template.php' ) ) { 114 118 include_once WPORGPATH . 'wp-content/plugins/plugin-directory/class-template.php'; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-theme-directory-compat.php
r9857 r10355 111 111 112 112 public function do_topic_sidebar() { 113 if ( ! $this->theme ) { 114 return; 115 } 116 113 117 $theme = sprintf( '<a href="//wordpress.org/themes/%s/">%s</a>', esc_attr( $this->slug() ), esc_html( $this->theme->post_title ) ); 114 118 $support = sprintf( '<a href="%s">%s</a>', home_url( '/theme/' . esc_attr( $this->slug() ) . '/' ), __( 'Support Threads', 'wporg-forums' ) );
Note: See TracChangeset
for help on using the changeset viewer.