We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9b3c2 commit e03ad79Copy full SHA for e03ad79
src/Admin/Editor.php
@@ -46,12 +46,12 @@ public function admin_init() {
46
public function untrashed_post_cb( $post_id, $previous_status ) {
47
// If have errors when validating the post content/data, do not show those in the admin when untrash.
48
$untrashed_post = get_post( $post_id );
49
-
+
50
// Bail if the untrashed post is not a GraphQL Document
51
if ( ! isset( $untrashed_post->post_type ) || Document::TYPE_NAME !== $untrashed_post->post_type ) {
52
return;
53
}
54
55
delete_transient( AdminErrors::TRANSIENT_NAME );
56
57
0 commit comments