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.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-08-24 11:37:25 +00:00
parent 633f13ca72
commit 0668193437
1 changed files with 1 additions and 1 deletions

View File

@ -1864,7 +1864,7 @@ jQuery(function($){
<select id="orderby" name="orderby">
<option value="menu_order" selected="selected"><?php _e('Menu order'); ?></option>
<option value="title"><?php _e('Title'); ?></option>
<option value="ID"><?php _e('Date/Time'); ?></option>
<option value="post_date"><?php _e('Date/Time'); ?></option>
<option value="rand"><?php _e('Random'); ?></option>
</select>
</td>