Jetpack: Subscriptions: add Gutenberg support on option to toggle email delivery on a per-post basis

Created on 7 Dec 2018  路  22Comments  路  Source: Automattic/jetpack

With WordPress 5.0 it became impossible for customers to use the jetpack_allow_per_post_subscriptions filter as described here: https://jetpack.com/support/subscriptions/#filters

Previously, a new option would appear in a metabox, like this:

image

Code ref: https://github.com/Automattic/jetpack/blob/d7a1fadb4163d62d388c1b636c05f261fbab31fd/modules/subscriptions.php#L122-L159

Reported in 1626604-zen

Gutenberg Subscriptions [Pri] Normal [Type] Bug [Type] Happiness Request

Most helpful comment

Thank you for the clarification @jeremypaavola . Now it make sense I couldn't find anything about them on google. I'll be monitoring this thread, as I really prefer to have this option back again.

All 22 comments

Reported as well in 1637443-zen

1638413-zen

To be clear the current behavior for those who have this filter installed and updated to 5.0 is that dont_email_post_to_subs=1 and their emails will not send, correct?

@bikedorkjon Yes, that is correct. I would recommend removing the filter in those cases.

Hi! Has someone found a solution for this issue?

Also requested in 1738651-zen

Forgive me my stupidity (and google isn't helping either), where are those #####-zen tickets referring to?
Tried to get some more information on the matter, but where can I find these reports?

1626604-zen
1637443-zen
1638413-zen
1738651-zen

[I'm sure I make some of you giggle now]

Hi @USRFSledge; those are references to reports relating to the issue at hand that have come through our (other) support channels. You won't have access to view these, but they wouldn't contain any new information either, so you're not missing out on anything.

Thank you for the clarification @jeremypaavola . Now it make sense I couldn't find anything about them on google. I'll be monitoring this thread, as I really prefer to have this option back again.

1877078-zen

User in 1877078-zen wants us to notify them once issue is fixed, and specifically asked us to keep their ticket open.

Placing their ticket on an indefinite hold, so we stop sending reminder/CSAT emails.

Following

Also 1999231-zen

2061366-zen

Thanks @mzakariya I'm now following directly here...

Is this fixed in the latest Jetpack release? I couldn鈥榯 find anything about in the release notes. Or is there another way to achieve this? The other filters i have tested based on categories also not seem to work. Either all emails are sent or none.

@Paraplexo We haven't addressed this issue yet. We'll post here when we start working on this.

The other filters i have tested based on categories also not seem to work.

Those filters should still work. Could you reach out to us again via this contact form and give us more details about the filters you used, and what emails were sent when they should not have been?

You'll want to use the filters as described here:
https://jetpack.com/2016/02/10/hook-month-control-subscriptions/

2272075-zen

I am interested in this feature being brought back as well.

Hi all,

Just wondering if we have plans to have this filter available in the future? If not, we are thinking of removing it from our documentation here: https://jetpack.com/support/subscriptions/ to keep it up-to-date :)

Just wondering if we have plans to have this filter available in the future?

Yes, we've been thinking of ways to do that in https://github.com/Automattic/jetpack/pull/14021

we are thinking of removing it from our documentation here: jetpack.com/support/subscriptions to keep it up-to-date

Let's keep the filter in the documentation, since it's still useful for anyone using the Classic editor. 馃憤 Let's add a mention that this is specific to the classic editor to avoid confusion.

Requested in 3813952-zen again. I've advised them they'll need to use the Classic Editor for the option to work.

Was this page helpful?
0 / 5 - 0 ratings