-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Duplicate Postなどのプラグインを使ったときにメールが複製されるとカスタムフィールドの値によっては次のことが起こり得る。
- そのまま同じメールが送信されてしまう
- まだ送信していないのに「送信済み」と表示されてしまう
対応方法は以下の通り。プラグインに対応するというのはあくまでオプションとする。
- 「送信済み」を示すフラグを明確にする
- プラグイン自体に「複製」の機能をつける
以下はイシュー当初のソース。なぜこれを作ったのかは忘れてしまった。
If posts are duplicated with Duplicate Posts plugin, mails are sent immediately.
When duplicating an email, the recipients are also duplicated. However, if you modify the recipients in the editing screen and publish without first saving the draft, it has been discovered that the original recipients’ values are carried over and used for publishing and sending. Once the draft is saved, the updated recipients’ values are properly retained.
Notes: this may happen if published before draft saving not only on duplicated posts.
Reactions are currently unavailable