[wp-trac] [WordPress Trac] #57683: Improve performance of mysql2date
WordPress Trac
noreply at wordpress.org
Wed Mar 8 13:16:52 UTC 2023
#57683: Improve performance of mysql2date
--------------------------+-----------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Date/Time | Version: 0.71
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance
--------------------------+-----------------------------
Comment (by spacedmonkey):
I have updated [https://github.com/WordPress/wordpress-develop/pull/4181/
#4181].
I don't think that `get_post_datetime` is a solution, as it still has the
same performance problem, of creating a new timezone object and the option
lookup attached to that. I put together a PR for `get_post_datetime`. See
[https://github.com/WordPress/wordpress-develop/pull/4184 #4184].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57683#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list