We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 555e5c6 commit 47d48d6Copy full SHA for 47d48d6
1 file changed
src/wp-includes/post.php
@@ -4044,7 +4044,7 @@ function _reset_privacy_policy_page_for_post( int $post_id ): void {
4044
return;
4045
}
4046
4047
- if ( 'page' === $post->post_type && ( (int) get_option( 'wp_page_for_privacy_policy' ) === (int) $post_id ) {
+ if ( 'page' === $post->post_type && ( (int) get_option( 'wp_page_for_privacy_policy' ) === (int) $post_id ) ) {
4048
update_option( 'wp_page_for_privacy_policy', 0 );
4049
4050
0 commit comments