Changeset 13168
- Timestamp:
- 02/05/2024 03:03:08 AM (8 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r12892 r13168 457 457 458 458 return $plugin_instance->users->get_user_report_count( $user_id ); 459 } 460 461 /** 462 * Returns whether we are viewing a theme or plugin forum. 463 * 464 * @return bool Returns true if theme or plugin forum. 465 */ 466 function wporg_support_is_compat_forum() { 467 return null !== wporg_support_get_compat_object(); 459 468 } 460 469 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php
r9858 r13168 1 1 2 <div class="entry-meta sidebar"> 2 3 … … 82 83 <?php endif; ?> 83 84 84 <?php if ( ! bbp_is_single_user() ) : ?>85 <?php if ( ! bbp_is_single_user() && ! ( wporg_support_is_compat_forum() ) ) : ?> 85 86 86 87 <div>
Note: See TracChangeset
for help on using the changeset viewer.