Remove Jetpack email sharing service

Recently the WordPress Jetpack email sharing service is often abused by spammers. They use the Send to Email Address for sending spam. All these kind of “Tell a Friend” scripts are abused a lot. Here is how to disable email share service in WordPress Jetpack.

Imagine the WordPress scenario where Jetpack’s email sharing service is active on your website, and is abused by spammers.

And suppose Jetpack’s email share service is enabled but you don’t have access to its settings in the WordPress dashboard. Either because you’re the server systems administrator, or you have some other role, but you do want to stop the spam.

As long as you have access to your theme’s functions.php file you can easily disable Jetpack’s email sharing service.

To do so, you can use the following WordPress filter:

function saotn_kill_sharedaddy_email ( $services ) {
    unset( $services['email'] );
    return $services;}
add_filter( 'sharing_services', 'saotn_kill_sharedaddy_email' );

Afterwards you can contact the WordPress site-admin and tell him (her) to disable the service in the Sharing Settings page (yes this hyperlink is intended – just refer them to this post).

Another option is to add reCaptcha to the Email button, as explained on Jetpack’s support pages.

You can find more of such handy filters and code examples here in my WordPress snippets post.

1 reply

Trackbacks & Pingbacks

  1. […] blocks requests to /xmlrpc.php URL’s completely, meaning you cannot use a plugin like Jetpack, or other functionality that relies on […]




    0



    0

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Hi! Join the discussion, leave a reply!