From ab71eb93b1e011ab1d1efc47e2036b9d89eba987 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 21 Aug 2015 17:41:16 +0000 Subject: [PATCH] When createing "Sample Page" on install, comments should be `closed`. Props macmanx. Fixes #33490. git-svn-id: https://develop.svn.wordpress.org/trunk@33693 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/upgrade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 8e6b10f011..ffdb52b160 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -222,6 +222,7 @@ As a new WordPress user, you should go to your dashboard to d 'post_date_gmt' => $now_gmt, 'post_content' => $first_page, 'post_excerpt' => '', + 'comment_status' => 'closed', 'post_title' => __( 'Sample Page' ), /* translators: Default page slug */ 'post_name' => __( 'sample-page' ),