get_posts() should default orderby post_date_gmt
|Reported by:||caorongjin||Owned by:||anonymous|
the function get_posts() in posts.php is defaulted to orderby post_date. The problem with this is if entries are added in differing timezones (e.g., I changed my system timezone after x number of posts have been made), then the sorting is incorrect. Since post_date_gmt is correct despite the timezone you are in, sorting based on this should be the default behavior.
Change History (22)
- Keywords has-patch needs-testing added; needs-patch removed