get_boundary_post() sorts by ID rather than creation date
|Reported by:||jk0||Owned by:|
When get_boundary_post calls get_posts, posts are sorted by their ID rather than creation date. In other words, if old posts were imported or post IDs are skewed (for whatever reason), the 'start' <link /> generated in the header will not be accurate.
I propose sorting by post creation date. Patch attached.
Change History (14)
- Component changed from General to Performance
- Keywords commit added
- Milestone changed from Awaiting Triage to 3.1