Skip to:
Content

BuddyPress.org

Changeset 14014 for trunk/bp-loader.php


Ignore:
Timestamp:
09/02/2024 10:45:11 PM (3 months ago)
Author:
espellcaste
Message:

Raise the minimum supported WordPress and PHP versions.

The new minimum WordPress version supported is 6.4.
The new minimum PHP version supported is 7.0.

Props imath.
Fixes #9225

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r13953 r14014  
    2020 * Text Domain:       buddypress
    2121 * Domain Path:       /bp-languages/
    22  * Requires PHP:      5.6
    23  * Requires at least: 6.1
     22 * Requires PHP:      7.0
     23 * Requires at least: 6.4
    2424 * Version:           15.0.0-alpha
    2525 */
     
    2929
    3030// Assume you want to load from build
    31 $bp_loader = dirname( __FILE__ ) . '/build/bp-loader.php';
     31$bp_loader = __DIR__ . '/build/bp-loader.php';
    3232
    3333// Load from source if no build exists
    3434if ( ! file_exists( $bp_loader ) || defined( 'BP_LOAD_SOURCE' ) ) {
    35     $bp_loader = dirname( __FILE__ ) . '/src/bp-loader.php';
     35    $bp_loader = __DIR__ . '/src/bp-loader.php';
    3636    $bp_subdir = 'src';
    3737} else {
     
    5252
    5353// Include BuddyPress
    54 include( $bp_loader );
     54require $bp_loader;
    5555
    5656// Unset vars that were invoked in global scope
Note: See TracChangeset for help on using the changeset viewer.