[wp-trac] [WordPress Trac] #44908: Unecessary to set post_modified info in the wp_update_post of wp_generate_user_request_key as wp_insert_post handles it already

WordPress Trac noreply at wordpress.org
Sat Oct 6 07:30:06 UTC 2018


#44908: Unecessary to set post_modified info in the wp_update_post of
wp_generate_user_request_key as wp_insert_post handles it already
-----------------------------+------------------------------
 Reporter:  garrett-eclipse  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Privacy          |     Version:  4.9.6
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Changes (by garrett-eclipse):

 * Attachment "44908.diff" added.

 Strip unnecessary post_modified args, they get overwritten in
 wp_insert_post when $update

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


More information about the wp-trac mailing list