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

Add test case for publishing post and updating date behavior #428

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

danielbachhuber
Copy link
Member

@danielbachhuber danielbachhuber commented Oct 10, 2023

When publishing a post and updating its date at the same time, --edit_date=1 must be included:

https://github.com/WordPress/wordpress-develop/blob/a1852bd49b0995317ebdde8f2ee33eb818e8da9c/src/wp-includes/post.php#L4817-L4825

Resolves #427

@danielbachhuber danielbachhuber added this to the 2.5.6 milestone Oct 10, 2023
@danielbachhuber danielbachhuber self-assigned this Oct 10, 2023
@danielbachhuber danielbachhuber requested a review from a team as a code owner October 10, 2023 16:02
@danielbachhuber danielbachhuber merged commit 45d4f3a into main Oct 13, 2023
32 checks passed
@danielbachhuber danielbachhuber deleted the improve/add-test-case-updating branch October 13, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot update date when updating status to 'publish'
1 participant