[wp-trac] [WordPress Trac] #48113: Update hard coded list of floating dates to use new date_floating post status arg

WordPress Trac noreply at wordpress.org
Mon Sep 23 20:10:33 UTC 2019


#48113: Update hard coded list of floating dates to use new date_floating post
status arg
-------------------------------+--------------------------------------
 Reporter:  TimothyBlynJacobs  |      Owner:  TimothyBlynJacobs
     Type:  defect (bug)       |     Status:  assigned
 Priority:  normal             |  Milestone:  5.3
Component:  General            |    Version:  trunk
 Severity:  normal             |   Keywords:  has-patch has-unit-tests
  Focuses:                     |
-------------------------------+--------------------------------------
 #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
 [https://github.com/WordPress/wordpress-
 develop/blob/9a105cf0049e7bc5a0da1ba05c01373f566a7335/src/wp-
 includes/post.php#L3729 wp_insert_post()] so that the `post_date_gmt` can
 be set to `0000-00-00 00:00:00` in that case as well.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48113>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list