Skip to content

Commit

Permalink
REST API: Mark "pending" status as date_floating.
Browse files Browse the repository at this point in the history
See: WordPress/gutenberg#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
  • Loading branch information
kadamwhite committed Sep 23, 2019
1 parent 406021d commit a418a8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions wp-includes/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ function create_initial_post_types() {
'Pending <span class="count">(%s)</span>',
'Pending <span class="count">(%s)</span>'
),
'date_floating' => true,
)
);

Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a418a8a

Please sign in to comment.