WordPress.org

Make WordPress Core

Changeset 45744


Ignore:
Timestamp:
08/04/2019 02:43:21 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Posts, Post Types: Revert unintended change from [45742].

See #46503.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r45742 r45744  
    30013001        }
    30023002        if ( get_option( 'page_for_posts' ) == $post->ID ) {
    3003             delete_option( 'page_for_posts' );
     3003            delete_option( 'page_for_posts', 0 );
    30043004        }
    30053005    }
Note: See TracChangeset for help on using the changeset viewer.