[wp-trac] [WordPress Trac] #22829: Corrupt Gallery-Output

WordPress Trac noreply at wordpress.org
Sun Dec 9 05:26:47 UTC 2012


#22829: Corrupt Gallery-Output
--------------------------------+--------------------
 Reporter:  Bichareh            |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  3.5
Component:  Gallery             |     Version:  trunk
 Severity:  normal              |  Resolution:
 Keywords:  close dev-feedback  |
--------------------------------+--------------------

Comment (by helenyhou):

 The shortcode is different. You could specify IDs before, there just
 wasn't a UI for it. If you use the [gallery] shortcode as before, without
 IDs, then it will only show what's attached to the post, and thus
 navigation between attachments of that post via attachment pages will be
 between the images displayed in the gallery. I don't see a difference in
 actual behavior, only an exposure of something that wasn't as easy to
 accomplish as before (specifying IDs).

 Attachments are a post type. The post they are attached to is stored as
 the post_parent. `adjacent_image_link()` is basically like
 `adjacent_post_link()`, except with a post_parent context to relate within
 the set.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22829#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list