From a418a8a42784a5db48e5d4002ad5ce5674a09807 Mon Sep 17 00:00:00 2001 From: "K. Adam White" Date: Mon, 23 Sep 2019 20:34:57 +0000 Subject: [PATCH] REST API: Mark "pending" status as date_floating. See: https://github.com/WordPress/gutenberg/issues/13176 Props TimothyBlynJacobs. Fixes #39953. Built from https://develop.svn.wordpress.org/trunk@46274 git-svn-id: http://core.svn.wordpress.org/trunk@46086 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index dde54c510d..74a500525a 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -360,6 +360,7 @@ function create_initial_post_types() { 'Pending (%s)', 'Pending (%s)' ), + 'date_floating' => true, ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index d035ba2ffb..4cf34d6351 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46273'; +$wp_version = '5.3-alpha-46274'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.