| 1 | Index: bbp-loader.php
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- bbp-loader.php (revision 2564)
|
|---|
| 4 | +++ bbp-loader.php (working copy)
|
|---|
| 5 | @@ -110,10 +110,10 @@
|
|---|
| 6 | // Default slug for topic reply post type
|
|---|
| 7 | if ( !defined( 'BBP_REPLY_SLUG' ) )
|
|---|
| 8 | define( 'BBP_REPLY_SLUG', apply_filters( 'bbp_reply_slug', 'reply' ) );
|
|---|
| 9 |
|
|---|
| 10 | // bbPress root directory
|
|---|
| 11 | - define( 'BBP_DIR', WP_PLUGIN_DIR . '/bbpress' );
|
|---|
| 12 | - define( 'BBP_URL', plugins_url( $path = '/bbpress' ) );
|
|---|
| 13 | + define( 'BBP_DIR', plugin_dir_path( __FILE__ ) );
|
|---|
| 14 | + define( 'BBP_URL', plugin_dir_url( __FILE__ ) );
|
|---|
| 15 |
|
|---|
| 16 | // Images URL
|
|---|
| 17 | define( 'BBP_IMAGES_URL', BBP_URL . '/bbp-images' );
|
|---|
| 18 | @@ -121,7 +121,8 @@
|
|---|
| 19 | // Themes directory and url
|
|---|
| 20 | define( 'BBP_THEMES_DIR', BBP_DIR . '/bbp-themes' );
|
|---|
| 21 | define( 'BBP_THEMES_URL', BBP_URL . '/bbp-themes' );
|
|---|
| 22 |
|
|---|
| 23 | /**
|
|---|
| 24 | * Constants have been defined
|
|---|
| 25 | */
|
|---|