[wp-trac] [WordPress Trac] #41227: Ability to pass post_modified and post_modified_gmt to wp_insert_post

WordPress Trac noreply at wordpress.org
Mon Jul 3 10:07:08 UTC 2017


#41227: Ability to pass post_modified and post_modified_gmt to wp_insert_post
-------------------------------+-----------------------------
 Reporter:  shamim51           |      Owner:
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 It is hard-coded that post_modified and post_modified_gmt will be current
 time or post_date. But sometimes it can be needed to have custom date
 passed to wp_insert_post/wp_update_post.

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


More information about the wp-trac mailing list