mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
5fd2b7fed1
no issue - having a `send_email_when_published` property on the Post resource that only has an effect at certain times was confusing and was causing issues with clients that needed to know details of how that toggle worked - makes `post.send_email_when_published` a fully read-only property in the API - adds support for `?send_email_when_published=true` query param that can be passed in POST/PUT requests to the posts endpoint when scheduling or publishing a post - this is the only way to set `post.send_email_when_published` to `true` - adds handling to ensure that `post.send_email_when_published` is always reset to `false` when reverting a post back to a draft _unless_ an email has already been sent |
||
---|---|---|
.. | ||
client@48443b790a | ||
frontend | ||
server | ||
shared/nql-map-key-values | ||
test | ||
index.js |