923a9a1cd6
refs https://github.com/TryGhost/Ghost/issues/16125 The previous fix for incorrect recipient details being shown when re-sending a failed email introduced another bug that prevented the "Match post visibility" default recipients setting from working. - the server always sets `post.emailSegment` to `'all'` for new posts so the publish flow recipient filter logic that checked for `post.emailSegment` being present always defaulted to `'all'` rather than falling back to the selected default recipients setting - when a post has been published but the email failed it will have its `newsletter` value set so we can use that as a check for using the `post.emailSegment` value in place of the default recipients setting |
||
---|---|---|
.. | ||
bound-one-way.js | ||
caja-sanitizers.js | ||
copy-text-to-clipboard.js | ||
ctrl-or-cmd.js | ||
currency.js | ||
flatten-grouped-options.js | ||
format-markdown.js | ||
get-scroll-parent.js | ||
ghost-paths.js | ||
isNumber.js | ||
link-component.js | ||
password-generator.js | ||
publish-options.js | ||
route.js | ||
shortcuts.js | ||
slug-url.js | ||
window-proxy.js |