[wp-trac] [WordPress Trac] #39953: REST API: Add `date_floating` flag for posts
WordPress Trac
noreply at wordpress.org
Sat Aug 4 03:23:18 UTC 2018
#39953: REST API: Add `date_floating` flag for posts
------------------------------------------+------------------------------
Reporter: jnylen0 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: rest-api
------------------------------------------+------------------------------
Comment (by mnelson4):
Actually one comment though: the name `scheduled_to_publish` or just
`scheduled` would be a more intuitive name than `date_floating`, speaking
as one less familiar with the established jargon. I think this name would
make more sense on published posts too.
I think this name corresponds especially well to the post editing page,
when posts are scheduled or not.
To be exact, when the column `post_date_gmt=0000-00-00 00:00:00`, or when
the post was already published, it would be false, but when the post is a
draft and has any other `post_date_gmt`, it would be true.
Thoughts on this name suggestion?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39953#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list