[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
Wed Jan 9 03:50:38 UTC 2019


#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:  garrett-eclipse
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  5.1
Component:  Privacy          |     Version:  4.9.6
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44491" 44491]:
 {{{
 #!CommitTicketReference repository="" revision="44491"
 Privacy: Remove some unnecessary parameters being passed to
 `wp_update_post()` by `wp_generate_user_request_key()`.

 Props garrett-eclipse.
 Fixes #44908.
 }}}

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


More information about the wp-trac mailing list