HEX
Server: Apache
System: Linux server 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64
User: losadagest (10000)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/aceitunaslosada.com/web/copia/wp-content/plugins/jetpack/3rd-party/buddypress.php
<?php
/**
 * 3rd Party Integration for BuddyPress.
 *
 * @package Jetpack.
 */

namespace Automattic\Jetpack\Third_Party;

add_filter( 'bp_core_pre_avatar_handle_upload', __NAMESPACE__ . '\blobphoto' );

/**
 * Adds filters for skipping photon during pre_avatar_handle_upload.
 *
 * @param bool $bool Passthrough of filter's original content. No changes made.
 *
 * @return bool
 */
function blobphoto( $bool ) {
	add_filter( 'jetpack_photon_skip_image', '__return_true' );

	return $bool;
}