[wp-trac] [WordPress Trac] #36595: can't set post_modified in wp_insert_post, becomes post_date

WordPress Trac noreply at wordpress.org
Tue Apr 19 19:42:15 UTC 2016


#36595: can't set post_modified in wp_insert_post, becomes post_date
-------------------------------+------------------------------
 Reporter:  gijsgg             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  1.0
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by 5um17):

 IMHO `post_modified` is not something very frequently use metadata, we
 just need to update the documentation. Moreover, as @Latz mentioned
 modification date can be set using `wp_insert_post_data` filter!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36595#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list