email sharing button gone with 5.1 update
-
Dear Devs and community,
just updated to 5.1 and now my email sharing button is gone. Admin dashboard also doesn’t show it anymore. Has anyone made a similar experience?Regards
David-
This topic was modified 8 years, 9 months ago by
stucyber.
-
This topic was modified 8 years, 9 months ago by
-
Just saw the (before not present) change log and the remark according the filter to make it work again. Will check the docs and mark this solved as soon as I could make it run.
Just checked the docs extensively and wasn’t lucky. The sharing section has not been updated yet, so my only hope for now is a hint on this mysterious filter function. Thanks in advance!
Small update:
Have found the filter code in line 72 of sharing-service.php, but am due to missing coding knowledge unfortunately still unable to put the appropriate filter call always returning true to my functions.php.The code in sharing-service php:/** @param bool $email */ if ( apply_filters( 'sharing_services_email', Jetpack::is_akismet_active() ) ) { $services['email'] = 'Share_Email'; }Can anyone help out?
Thanks a lot!I’m running 4.8 (I think) and I’m not seeing the email sharing button. It says I’m up to date, so I’m not sure where 5.1 is coming from.
so I’m not sure where 5.1 is coming from.
from here: https://wordpress.org/plugins/jetpack/
Hi there,
Jetpack’s sharing button hasn’t been removed so there shouldn’t be any need to add it via some filters. – Could you post your site URL here, so I can have a look?
If you want it to remain private, you can also contact us via this contact form:
Contact SupportHello @lamdayap,
thanks for your reply. I’m referring to the email sharing button, of which also the recent changelog states being disabled by default now. There is a filter call in /wp-content/plugins/jetpack/modules/sharedaddy/sharing-service.php, line 72 (see above), which can reenable it when e.g. Akismet (which due to missing commentary function on my site I don’t use) is active.
What I’m in need of is just a working filter call (so far undocumented) for my functions.php returning always ‘true’, so I can reenable email sharing no matter if Akismet is being active or not. Spam so far is fortunately not an issue, I’m using Jetpack’s reCAPTCHA integration.
I unfortunately cannot provide you with a link to my site; I downgraded the life plugin version after encountering the problem.Best regards,
DavidP.S. Thank you for pointing to the support contact possibility, I already filed a support request this morning.
Wordpress 4.8
Jetpack 5.1In the WP Admin view:
I’d like to paste a screenshot here, but I can’t, but what you would have seen is the screen visible when Settings/Sharing is selected. Some sharing buttons are unused in “Available Services”, some contained in “Enabled Services”, with a few to the right that are behind the “More” button in the “Live Preview”. In all of this, there is no button for email. I know it should be there, but it is not.In all of this, there is no button for email. I know it should be there, but it is not.
That’s exactly the issue. According to the latest changelog availability of email-sharing has been disabled by default. But since there’s a function to switch it back on again, let’s just wait for the devs to kindly help us out.
Regards, David
Howdy everyone,
We disabled the e-mail sharing by default unless explicitly opted-in or if using Akismet/Jetpack Antispam on your site.
In short, some spammers were abusing the system to spam folks to the point where hosting providers were disabling e-mail sharing themselves or other actions of that sort.
You can reactivate it either by using Akismet or by adding
add_filter( 'sharing_services_email', '__return_true' );to your theme’s functions.php, via a Core Functionality plugin, or via a code snippets plugin.It works with Akismet since Akismet checks the share before it goes out and will block it if the system sees it as a spam attempt.
Cheers!
The above solution worked perfectly for me.
Hey Brandon,
this
reactivate it either by using Akismet or by adding
add_filter( 'sharing_services_email', '__return_true' );to your theme’s functions.phpis exactly what I was looking for. A shame I cannot set a simple ‘true’ statement by myself, finally time to learn PHP from scratch, I guess.
Many thanks for helping and already marked as solved.
Why Jetpack didn’t inform us they gonna disable email sharing option through their change log?
-
This reply was modified 8 years, 9 months ago by
Nazmul Hasan.
-
This reply was modified 8 years, 9 months ago by
The topic ‘email sharing button gone with 5.1 update’ is closed to new replies.