Skip to:
Content

bbPress.org

Ticket #1912: 1912.01.patch

File 1912.01.patch, 668 bytes (added by DJPaul, 14 years ago)
  • bbp-includes/bbp-theme-compatibility.php

     
    280280        // Load up bbPress
    281281        $bbp = bbpress();
    282282
    283         // Only override if the flag is set and notpreviously registered
    284         if ( ! empty( $bbp->theme_compat->packages[$theme->id] ) || ( true === $override ) ) {
     283        // Only override if the flag is set and not previously registered
     284        if ( empty( $bbp->theme_compat->packages[$theme->id] ) || true === $override ) {
    285285                $bbp->theme_compat->packages[$theme->id] = $theme;
    286286        }
    287287}