Opened 21 years ago
Closed 20 years ago
#1620 closed defect (bug) (fixed)
Scheduled entries on Dashboard not ordering correctly.
| Reported by: | schulte | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.1 |
| Severity: | trivial | Keywords: | bg|has-patch |
| Cc: | Focuses: |
Description
Let unfixed, the Scheduled Entries text on the Dashboard yields a list of entries in the order they were created instead of the correct post date/time order.
original wp-admin/index.php code:
if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today'") ) :
corrected query:
if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today' ORDER BY post_date_gmt") ) :
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixed with http://trac.wordpress.org/changeset/2869