#48113 closed defect (bug) (fixed)
Update hard coded list of floating dates to use new date_floating post status arg
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | General | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
#39953 added a date_floating
post status argument that clients can use to determine whether the post status is floating instead of relying on a hardcoded list.
We also need to update that hardcoded list in wp_insert_post() so that the post_date_gmt
can be set to 0000-00-00 00:00:00
in that case as well.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Added a patch. Currently there is one expected unit test failure,
test_create_post_as_contributor
. That should be fixed when thepending
post status is marked asdate_floating
.