Posts, Post Types: Revert unintended change from [45742].
See #46503. Built from https://develop.svn.wordpress.org/trunk@45744 git-svn-id: http://core.svn.wordpress.org/trunk@45555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e8cd892ba4
commit
545157d30d
|
@ -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 );
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45743';
|
||||
$wp_version = '5.3-alpha-45744';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue