[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:32:25 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: has-patch | Focuses:
-----------------------------+------------------------------
Changes (by garrett-eclipse):
* keywords: => has-patch
Comment:
Added 44908.diff to clean-up and remove the unnecessary post_modified args
as they get set within the wp_insert_post on $update here;
https://github.com/WordPress/WordPress/blob/f7ba175491b725a5f3d636072c8b432774d38ae3
/wp-includes/post.php#L3506-L3508
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44908#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list