Subscriptions: excerpt not displayed in Email preview when excerpt is set in options

Open
#48,481 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
php
Domain
content

Research direction

Reproduce the issue through the Jetpack > Newsletter settings and both email preview paths described in the steps. Compare how the preview and test email obtain post content with the published email; done means both use the custom excerpt when excerpt-only sending is enabled.

Written by the indexing model from the issue text.

Description

[Feature] Subscriptions Bug Customer Report > Indirect
Impacted plugin

Jetpack

Quick summary

Jetpack's Newsletter feature allows you to only set an excerpt of your posts in the subscription emails. This is an option you can set in Newsletter settings:

Image

That option works well for the emails that get sent out after you hit Publish, but doesn't work in the email previews (both in the block editor and the test email you can send).

Steps to reproduce
  1. Go to Jetpack > Newsletter
  2. Enable Newsletters
  3. Scroll down the page and switch the settings to only send out excerpts
  4. Go to Posts > Add New
  5. Create a new post, with some content and a custom excerpt
  6. Check the email preview
Image

=> You'll see that the preview shows the full content instead of the excerpt. 🐛

  1. Now close the preview, and hit publish
  2. The Pre-publish panel will appear
  3. Scroll down to the Newsletter section
  4. Click to send a test email

=> The email you'll receive will not use the custom excerpt 🐛

  1. Now hit Publish and publish the post for good.
  2. Check the email you've received

=> It uses the custom excerpt as expected. ✅

Site owner impact

Fewer than 20% of the total website/platform users

Severity

Minor

What other impact(s) does this issue have?

No revenue impact

If a workaround is available, please outline it here.

No response

Platform (Simple and/or Atomic)

Simple, Atomic, Self-hosted

Dominant language
PHP
Stars
1.9k
Forks
913
Avg merge
1d 18h
Merged PRs (30d)
809

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/jetpack

All issues in Automattic/jetpack

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.