Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle the case when post was previously expired but user decided to re-publish the post with later expiration date #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rinatkhaziev
Copy link

Howdy,

One of VIP clients noticed this behavior: when the post was already expired, and editors tried to re-publish post by setting the date in future and clicking "publish", the post was never set to expire and meta box changed to Expires: never.

After some time digging I found the culprit, hence this PR.

Cheers,
Rinat.

…re-publish the post with later expiration date

Previously when that was the case, post was never set to expire again and meta box showed 'Expires: never'
ivankruchkoff pushed a commit that referenced this pull request Mar 21, 2019
Pass third arg to save_post action to match core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant