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: https://develop.svn.wordpress.org/trunk@18596 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ade9233305
commit
a60b4ff564
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user