Opened 2 years ago
Last modified 2 years ago
#61048 new enhancement
order sticky posts using the same order for posts
| Reported by: | vladimir173 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Query | Version: | 6.5 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
Currently sticky posts are shown unordered.
I suggest the following code amendments in includes/class-wp-query.php to order sticky posts in the same way as the regular posts ordered.
3509c3509,3511 < 'lazy_load_term_meta' => $q['lazy_load_term_meta'] --- > 'lazy_load_term_meta' => $q['lazy_load_term_meta'], > 'order' => $q['order'], > 'orderby' => $q['orderby']
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
proposed patch