Skip to:
Content

bbPress.org

Ticket #3193: 3193.01.patch

File 3193.01.patch, 633 bytes (added by r-a-y, 7 years ago)
  • src/includes/extend/buddypress/loader.php

     
    7474                        $includes[] = 'groups.php';
    7575                }
    7676
    77                 parent::includes( $includes );
     77                // Require our files if they exist.
     78                foreach ( $includes as $file ) {
     79                        if ( @is_file( $this->path . $file ) ) {
     80                                require $this->path . $file;
     81                        }
     82                }
     83
     84                /**
     85                 * Hook for plugins to include files, if necessary.
     86                 *
     87                 * @since 2.1.0 bbPress (r3552)
     88                 */
     89                do_action( "bp_{$this->id}_includes" );
    7890        }
    7991
    8092        /**