![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets-rebuild.corals.io/wp-content/plugins/jetpack/3rd-party/ |
<?php /** * 3rd Party Integration for BuddyPress. * * @package automattic/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; }