[wp-trac] [WordPress Trac] #57473: Unclear Documentation for wp_insert_post for post_modified property

WordPress Trac noreply at wordpress.org
Mon Jan 16 20:09:42 UTC 2023


#57473: Unclear Documentation for wp_insert_post for post_modified property
---------------------------------------------+-----------------------
 Reporter:  dshanske                         |       Owner:  audrasjb
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  low                              |   Milestone:  6.2
Component:  Posts, Post Types                |     Version:
 Severity:  trivial                          |  Resolution:
 Keywords:  good-first-bug has-patch commit  |     Focuses:  docs
---------------------------------------------+-----------------------
Changes (by audrasjb):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch commit
 * owner:  (none) => audrasjb
 * status:  new => accepted
 * milestone:  Awaiting Review => 6.2


Comment:

 Thanks for the ticket @dshanske and for the patch @mehulkaklotar!

 The patch removes `post_modified` and `post_modified_gmt` params from
 `wp_insert_post()` docblock, which looks good to me, since those params
 are not used in this function.

 Self assigning for `commit`.

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


More information about the wp-trac mailing list