Title: minuro's Replies | WordPress.org

---

# minuro

  [  ](https://wordpress.org/support/users/minuro/)

 *   [Profile](https://wordpress.org/support/users/minuro/)
 *   [Topics Started](https://wordpress.org/support/users/minuro/topics/)
 *   [Replies Created](https://wordpress.org/support/users/minuro/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/minuro/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/minuro/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/minuro/engagements/)
 *   [Favorites](https://wordpress.org/support/users/minuro/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TAO Schedule Update] Scheduled post but keep the same date](https://wordpress.org/support/topic/scheduled-post-but-keep-the-same-date/)
 *  Thread Starter [minuro](https://wordpress.org/support/users/minuro/)
 * (@minuro)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/scheduled-post-but-keep-the-same-date/#post-9930105)
 * Sry, but I have fix it my self, hope that will help others too.
    What I modify
   is down.
 *  //create the new post
    $new_post = array( ‘menu_order’ => $post->menu_order,‘
   comment_status’ => $post->comment_status, ‘ping_status’ => $post->ping_status,‘
   post_author’ => $new_author->ID, ‘post_content’ => $post->post_content, ‘post_excerpt’
   => $post->post_excerpt, ‘post_mime_type’ => $post->mime_type, ‘post_parent’ =
   > $post->ID, ‘post_password’ => $post->post_password, ‘post_status’ => self::
   $TAO_PUBLISH_STATUS, ‘post_title’ => $post->post_title, ‘post_type’ => $post-
   >post_type, ‘post_date’ => $post->post_date, );
 * And here:
    $post->post_date = $orig->post_date; //we need this to get wp to recognize
   this as a newly updated post $post->post_date_gmt = get_gmt_from_date( $post_date);

Viewing 1 replies (of 1 total)