diff --git a/wp-includes/option.php b/wp-includes/option.php index abc7b6f91d..866cbcc480 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -1819,6 +1819,27 @@ function register_initial_settings() { 'description' => __( 'Blog pages show at most.' ), 'default' => 10, ) ); + + register_setting( 'discussion', 'default_ping_status', array( + 'show_in_rest' => array( + 'schema' => array( + 'enum' => array( 'open', 'closed' ), + ), + ), + 'type' => 'string', + 'description' => __( 'Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.' ), + ) ); + + register_setting( 'discussion', 'default_comment_status', array( + 'show_in_rest' => array( + 'schema' => array( + 'enum' => array( 'open', 'closed' ), + ), + ), + 'type' => 'string', + 'description' => __( 'Allow people to post comments on new articles.' ), + ) ); + } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index cec45083bb..7688fcd6a1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38970'; +$wp_version = '4.7-alpha-38971'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.