HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/locationdebateau/wp-content/plugins/buddypress/bp-core/deprecated/2.3.php
<?php
/**
 * Deprecated functions.
 *
 * @deprecated 2.3.0
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

/**
 * Return the referrer URL without the http(s)://
 *
 * @deprecated 2.3.0
 *
 * @return string The referrer URL.
 */
function bp_core_referrer() {
	_deprecated_function( __FUNCTION__, '2.3.0', 'bp_get_referer_path()' );
	$referer = explode( '/', wp_get_referer() );
	unset( $referer[0], $referer[1], $referer[2] );
	return implode( '/', $referer );
}