Making WordPress.org

Changeset 5092


Ignore:
Timestamp:
03/06/2017 02:02:24 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Check if bbp_is_engagements_active() exists before calling it in user-details.php.

Props ocean90.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/user-details.php

    r5086 r5092  
    5959                        </li>
    6060
    61                         <?php if ( bbp_is_engagements_active() ) : ?>
     61                        <?php if ( function_exists( 'bbp_is_engagements_active' ) && bbp_is_engagements_active() ) : ?>
    6262                                <li class="<?php if ( bbp_is_single_user_engagements() ) :?>current<?php endif; ?>">
    6363                                        <span class='bbp-user-engagements-created-link'>
Note: See TracChangeset for help on using the changeset viewer.