diff --git wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks/miscellaneous.php wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks/miscellaneous.php
index c60762ea..7003f2aa 100644
|
|
function add_post_types_to_rest_api( $allowed_types ) { |
41 | 41 | } |
42 | 42 | |
43 | 43 | add_filter( 'rest_api_allowed_post_types', __NAMESPACE__ . '\add_post_types_to_rest_api' ); |
| 44 | |
| 45 | /** |
| 46 | * Disable Jetpack gravatar hovercards compleately since those does not bring any extra value. |
| 47 | */ |
| 48 | function jetpack_gravatar_disable_hovercards() { |
| 49 | return 'disabled'; |
| 50 | } |
| 51 | add_filter( 'pre_option_gravatar_disable_hovercards', 'jetpack_gravatar_disable_hovercards' ); |