diff options
Diffstat (limited to 'plugins/jetpack/3rd-party/buddypress.php')
-rw-r--r-- | plugins/jetpack/3rd-party/buddypress.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/jetpack/3rd-party/buddypress.php b/plugins/jetpack/3rd-party/buddypress.php new file mode 100644 index 00000000..9ae35f3c --- /dev/null +++ b/plugins/jetpack/3rd-party/buddypress.php @@ -0,0 +1,9 @@ +<?php + +add_filter( 'bp_core_pre_avatar_handle_upload', 'blobphoto' ); +function blobphoto( $bool ) { + + add_filter( 'jetpack_photon_skip_image', '__return_true' ); + + return $bool; +} |