[wp-trac] [WordPress Trac] #50081: orderby datetime field
WordPress Trac
noreply at wordpress.org
Wed Apr 26 20:59:59 UTC 2023
#50081: orderby datetime field
--------------------------+------------------------------
Reporter: saltnpixels | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Some details from the
[https://wordpress.slack.com/archives/core/p1674675456951919 Slack
discussion above]:
> Sergey: There is a `meta_value_num` option for orderby, but I don't
recall seeing `meta_value_datetime` before. As you noted, it does not
appear in the WP core source code.
>
> I see it mentioned on
https://developer.wordpress.org/reference/classes/wp_query/ though, so
this would likely need some investigation as to when it was added to the
documentation and where it came from.
>
> Presskopp: Using web.archive.org it must have been added after May, 25,
2019 and before Aug, 03, 2019, if that is helping.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50081#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list