/3rd-party/buddypress.php

  1. <?php 
  2.  
  3. add_filter( 'bp_core_pre_avatar_handle_upload', 'blobphoto' ); 
  4. function blobphoto( $bool ) { 
  5.  
  6. add_filter( 'jetpack_photon_skip_image', '__return_true' ); 
  7.  
  8. return $bool; 
.