Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #15155, comment 10


Ignore:
Timestamp:
07/02/2011 02:56:15 PM (14 years ago)
Author:
djr
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15155, comment 10

    initial v1  
    1 Added to this: the default order for most galleries is menu_order if I recall correctly? The problem I'm seeing is that *automatically* added post_thumbnails aren't assigned an (ordinal) menu order ID in the Media Uploader Gallery tab, which is what the gallery shortcode expects for sorting by menu order. The added patch doesn't seem to consider sorting by (gallery) menu order, or at least not in my install.
     1Added to this: the default order for most galleries is menu_order if I recall correctly? The problem I'm seeing is that *automatically* added post_thumbnails (with wp_insert_attachment() and wp_generate_attachment_metadata() ) aren't assigned an (ordinal) menu order ID in the Media Uploader Gallery tab, which is what the gallery shortcode expects for sorting by menu order. The added patch doesn't seem to consider sorting by (gallery) menu order, or at least not in my install.