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
This commit is contained in:
K. Adam White 2019-09-23 20:34:57 +00:00
parent 406021dba8
commit a418a8a427
2 changed files with 2 additions and 1 deletions

View File

@ -360,6 +360,7 @@ function create_initial_post_types() {
'Pending <span class="count">(%s)</span>',
'Pending <span class="count">(%s)</span>'
),
'date_floating' => true,
)
);

View File

@ -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.