-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbbpress.php
41 lines (34 loc) · 948 Bytes
/
bbpress.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* The bbPress Plugin
*
* bbPress is forum software with a twist from the creators of WordPress.
*
* $Id$
*
* @package bbPress
* @subpackage Main
*/
/**
* Plugin Name: bbPress
* Plugin URI: https://bbpress.org
* Description: bbPress is forum software with a twist from the creators of WordPress.
* Author: The bbPress Contributors
* Author URI: https://bbpress.org
* Version: 2.6-alpha
* Text Domain: bbpress
* Domain Path: /languages/
* License: GPLv2 or later (license.txt)
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
// Assume you want to load from build
$bbp_loader = __DIR__ . '/build/bbpress.php';
// Load from source if no build exists
if ( ! file_exists( $bbp_loader ) || defined( 'BBP_LOAD_SOURCE' ) ) {
$bbp_loader = __DIR__ . '/src/bbpress.php';
}
// Include bbPress
include( $bbp_loader );
// Unset the loader, since it's loaded in global scope
unset( $bbp_loader );