Posts, Post Types: Revert unintended change from [45742].
See #46503. git-svn-id: https://develop.svn.wordpress.org/trunk@45744 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b536f1de0b
commit
3705fddde7
@ -3000,7 +3000,7 @@ function _reset_front_page_settings_for_post( $post_id ) {
|
||||
update_option( 'page_on_front', 0 );
|
||||
}
|
||||
if ( get_option( 'page_for_posts' ) == $post->ID ) {
|
||||
delete_option( 'page_for_posts' );
|
||||
delete_option( 'page_for_posts', 0 );
|
||||
}
|
||||
}
|
||||
unstick_post( $post->ID );
|
||||
|
Loading…
x
Reference in New Issue
Block a user