WordPress.org

Make WordPress Core

Changeset 18596


Ignore:
Timestamp:
08/24/2011 11:37:25 AM (10 years ago)
Author:
westi
Message:

When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r18577 r18596  
    18651865            <option value="menu_order" selected="selected"><?php _e('Menu order'); ?></option>
    18661866            <option value="title"><?php _e('Title'); ?></option>
    1867             <option value="ID"><?php _e('Date/Time'); ?></option>
     1867            <option value="post_date"><?php _e('Date/Time'); ?></option>
    18681868            <option value="rand"><?php _e('Random'); ?></option>
    18691869        </select>
Note: See TracChangeset for help on using the changeset viewer.