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

Aperta
#48,481 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
php
Ambito
content

Direzione di ricerca

Riproduci il problema tramite le impostazioni di Jetpack > Newsletter e entrambi i percorsi di anteprima dell’e-mail descritti nei passaggi. Confronta il modo in cui l’anteprima e l’e-mail di test ottengono il contenuto dell’articolo con l’e-mail pubblicata; il lavoro è completato quando entrambi utilizzano l’estratto personalizzato se è abilitato l’invio dei soli estratti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

[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

Lingua principale
PHP
Stelle
1.9k
Fork
913
Merge medio
1g 18h
PR unite (30g)
809

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Automattic/jetpack

Tutte le issue di Automattic/jetpack

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.