[wp-trac] [WordPress Trac] #52187: Create function to resolve a post date from post_date and post_date_gmt strings
WordPress Trac
noreply at wordpress.org
Thu Jan 7 19:46:00 UTC 2021
#52187: Create function to resolve a post date from post_date and post_date_gmt
strings
--------------------------------------+---------------------
Reporter: jmdodd | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.7
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by jmdodd):
In 82187.4.diff, I've included unit tests to cover existing behavior in
wp_insert_post, as well as the output of wp_resolve_post_date. The new
wp_insert_post tests should work without the patched file wp-
includes/post.php to demonstrate existing behavior that should remain
unaffected by the introduction of wp_resolve_post_date.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52187#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list