Changeset 5049 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php
- Timestamp:
- 03/02/2017 11:29:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php
r4969 r5049 36 36 </div> 37 37 38 <?php elseif ( bbp_is_single_view() && in_array( bbp_get_view_id(), array( 'theme', 'plugin', 'reviews', 'active' )) ) : ?>38 <?php elseif ( wporg_support_is_compat_view() ) : ?> 39 39 40 40 <?php do_action( 'wporg_compat_view_sidebar' ); ?> … … 109 109 110 110 <?php foreach ( bbp_get_views() as $view => $args ) : 111 if ( in_array( $view, array( 'theme', 'plugin', 'reviews', 'active') ) ) {111 if ( in_array( $view, wporg_support_get_compat_views() ) ) { 112 112 continue; 113 113 } … … 123 123 <?php endif; ?> 124 124 125 <?php if ( bbp_is_single_view() && ! in_array( bbp_get_view_id(), array( 'theme', 'plugin', 'reviews', 'active' )) || is_tax( 'topic-tag' ) ) : ?>125 <?php if ( bbp_is_single_view() && ! wporg_support_is_compat_view() || is_tax( 'topic-tag' ) ) : ?> 126 126 127 127 <div>
Note: See TracChangeset
for help on using the changeset viewer.