You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Floating post dates should work on posts with custom post statuses.
Actual Behavior
Currently the block editor does not support floating post dates on posts with custom post statuses.
Steps to Reproduce the Problem
Create a new post
With or without Edit Flow enabled, the following JS command recreates the issue: wp.data.dispatch('core/editor').editPost({ status: 'pitch'});
The issue can also be recreated in a fresh WP/EditFlow installation by creating a new post. You should see the publish time is set immediately on opening the block editor.
Expected/Desired Behavior
Floating post dates should work on posts with custom post statuses.
Actual Behavior
Currently the block editor does not support floating post dates on posts with custom post statuses.
Steps to Reproduce the Problem
wp.data.dispatch('core/editor').editPost({ status: 'pitch'});
The issue can also be recreated in a fresh WP/EditFlow installation by creating a new post. You should see the publish time is set immediately on opening the block editor.
Additional notes
The logic is contained here in
isEditedPostDateFloating
: https://github.com/WordPress/gutenberg/blob/master/packages/editor/src/store/selectors.js#L735-L760The text was updated successfully, but these errors were encountered: