mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 22:15:28 +00:00
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:
parent
633f13ca72
commit
0668193437
@ -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…
x
Reference in New Issue
Block a user