• Resolved stucyber

    (@stucyber)


    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 7 years, 8 months ago by stucyber.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter stucyber

    (@stucyber)

    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.

    Thread Starter stucyber

    (@stucyber)

    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!

    Thread Starter stucyber

    (@stucyber)

    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!

    • This reply was modified 7 years, 8 months ago by stucyber.
    • This reply was modified 7 years, 8 months ago by stucyber.

    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.

    Thread Starter stucyber

    (@stucyber)

    @jmrampelt

    so I’m not sure where 5.1 is coming from.

    from here: https://www.ads-software.com/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 Support

    Thread Starter stucyber

    (@stucyber)

    Hello @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,
    David

    P.S. Thank you for pointing to the support contact possibility, I already filed a support request this morning.

    Wordpress 4.8
    Jetpack 5.1

    In 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.

    Thread Starter stucyber

    (@stucyber)

    @jmrampelt

    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

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    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.

    Thread Starter stucyber

    (@stucyber)

    Hey Brandon,

    this

    reactivate it either by using Akismet or by adding add_filter( 'sharing_services_email', '__return_true' ); to your theme’s functions.php

    is 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.

    @kraftbj,

    Why Jetpack didn’t inform us they gonna disable email sharing option through their change log?

    • This reply was modified 7 years, 7 months ago by Nazmul Hasan.
    Thread Starter stucyber

    (@stucyber)

    @semulbd

    They did here, paragraph “Enhancements”, last bullet. It was just published a bit later than the start of update distribution. Actually my bad, should not have updated before the change log went live.

    Cheers

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘email sharing button gone with 5.1 update’ is closed to new replies.