Skip to:
Content

BuddyPress.org

Ticket #959: (JASON_JM)bp-core.php(959.1).patch

File (JASON_JM)bp-core.php(959.1).patch, 1.2 KB (added by Jason_JM, 16 years ago)

V1 of patch for ticket #959.

  • bp-core.php

    # 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
     
    33/* Define the current version number for checking if DB tables are up to date. */
    44define( 'BP_CORE_DB_VERSION', '1700' );
    55
    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 */
    710define( 'BP_PLUGIN_DIR', WP_PLUGIN_DIR . '/buddypress' );
    8 define( 'BP_PLUGIN_URL', WP_PLUGIN_URL . '/buddypress' );
    9  No newline at end of file
     11define( 'BP_PLUGIN_URL', plugins_url($path = '/buddypress') );
     12 No newline at end of file
    1013
    1114/* Place your custom code (actions/filters) in a file called /plugins/bp-custom.php and it will be loaded before anything else. */