Skip to content

Commit e03ad79

Browse files
committed
- composer fix-cs
1 parent 2a9b3c2 commit e03ad79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Admin/Editor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ public function admin_init() {
4646
public function untrashed_post_cb( $post_id, $previous_status ) {
4747
// If have errors when validating the post content/data, do not show those in the admin when untrash.
4848
$untrashed_post = get_post( $post_id );
49-
49+
5050
// Bail if the untrashed post is not a GraphQL Document
5151
if ( ! isset( $untrashed_post->post_type ) || Document::TYPE_NAME !== $untrashed_post->post_type ) {
5252
return;
5353
}
54-
54+
5555
delete_transient( AdminErrors::TRANSIENT_NAME );
5656
}
5757

0 commit comments

Comments
 (0)