Skip to:
Content

BuddyPress.org

Ticket #7758: 7758.1.diff

File 7758.1.diff, 568 bytes (added by Mamaduka, 3 years ago)
  • src/bp-core/bp-core-theme-compatibility.php

    diff --git src/bp-core/bp-core-theme-compatibility.php src/bp-core/bp-core-theme-compatibility.php
    index 0bb0efb12..589eed902 100644
    add_action( 'loop_end', 'bp_theme_compat_loop_end' ); 
    994994 * @since 3.0.0
    995995 */
    996996function bp_check_theme_template_pack_dependency() {
     997        if ( empty( buddypress()->theme_compat->packages ) ) {
     998                return;
     999        }
     1000
    9971001        $all_packages = array_keys( buddypress()->theme_compat->packages );
    9981002
    9991003        foreach ( $all_packages as $package ) {