# This patch file uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
# Patch for Ticket #959.
# Changes define for BP_PLUGIN_URL to use plugin_url()
# which obtains the correct scheme (http or https).
#
# Ticket reported & code written by R-A-Y.
# Patch created by Jason Giedymin - AcronymLabs.com
|
|
|
3 | 3 | /* Define the current version number for checking if DB tables are up to date. */ |
4 | 4 | define( 'BP_CORE_DB_VERSION', '1700' ); |
5 | 5 | |
6 | | /* Define the path and url of the BuddyPress plugins directory */ |
| 6 | /* Define the path and url of the BuddyPress plugins directory. |
| 7 | * It is important to use plugins_url() core function to obtain |
| 8 | * the correct scheme used (http or https). |
| 9 | */ |
7 | 10 | define( 'BP_PLUGIN_DIR', WP_PLUGIN_DIR . '/buddypress' ); |
8 | | define( 'BP_PLUGIN_URL', WP_PLUGIN_URL . '/buddypress' ); |
9 | | No newline at end of file |
| 11 | define( 'BP_PLUGIN_URL', plugins_url($path = '/buddypress') ); |
| 12 | No newline at end of file |
10 | 13 | |
11 | 14 | /* Place your custom code (actions/filters) in a file called /plugins/bp-custom.php and it will be loaded before anything else. */ |