Skip to content

Commit 47d48d6

Browse files
authored
fix phpstan error
1 parent 555e5c6 commit 47d48d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4044,7 +4044,7 @@ function _reset_privacy_policy_page_for_post( int $post_id ): void {
40444044
return;
40454045
}
40464046

4047-
if ( 'page' === $post->post_type && ( (int) get_option( 'wp_page_for_privacy_policy' ) === (int) $post_id ) {
4047+
if ( 'page' === $post->post_type && ( (int) get_option( 'wp_page_for_privacy_policy' ) === (int) $post_id ) ) {
40484048
update_option( 'wp_page_for_privacy_policy', 0 );
40494049
}
40504050
}

0 commit comments

Comments
 (0)