Closed leogermani closed 3 years ago
Since WP 5.6, wp_untrash_post will always set the post status to draft instead of the previous status the post had before going to trash.
wp_untrash_post
draft
This change broke the test for that function. This PR updates the test to make sure WorDBless will work in both situations.
I'm very sad that we must write code for non-developers.
That is like we could only use our lathe to make simple cylinders because others are not able to understand more complex objects.
Since WP 5.6,
wp_untrash_post
will always set the post status todraft
instead of the previous status the post had before going to trash.This change broke the test for that function. This PR updates the test to make sure WorDBless will work in both situations.