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

WordPress Trac noreply at wordpress.org
Sun Dec 9 11:06:40 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         |
--------------------------+--------------------
Changes (by knutsp):

 * cc: knut@… (added)


Comment:

 Replying to [comment:8 markjaquith]:
 > We'd have to do something similar, probably including some sort of way
 to hash gallery ID lists and store them for reverse lookup.

 Just a thought:

 What about simply include query ids=1,2,3,4,5 as part of the attachment
 link? In this way the gallery array will be saved inside the post content.
 Like:
 {{{
 <a href="http://example.com/attachments/my-picture/?ids=1,2,3,4,5"><img
 .../></a>
 }}}

 Then let get_adjacent_post() detect this "ids" parameter and override the
 default behaviour.

 New ticket, I guess. This as maybelater?

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


More information about the wp-trac mailing list