WordPress.org

Make WordPress Core

Ticket #23242: 23242.patch

File 23242.patch, 580 bytes (added by ocean90, 18 months ago)
  • wp-includes/post.php

     
    26652665 * 
    26662666 * If the $postarr parameter has 'ID' set to a value, then post will be updated. 
    26672667 * 
    2668  * You can set the post date manually, but setting the values for 'post_date' 
     2668 * You can set the post date manually, by setting the values for 'post_date' 
    26692669 * and 'post_date_gmt' keys. You can close the comments or open the comments by 
    26702670 * setting the value for 'comment_status' key. 
    26712671 *