[wp-trac] Re: [WordPress Trac] #7678: Front Page with 2 galleries doesn't respect settings for each

WordPress Trac wp-trac at lists.automattic.com
Mon May 4 23:51:13 GMT 2009


#7678: Front Page with 2 galleries doesn't respect settings for each
------------------------+---------------------------------------------------
 Reporter:  MtDewVirus  |        Type:  defect (bug)
   Status:  new         |    Priority:  normal      
Milestone:  2.8         |   Component:  Gallery     
  Version:  2.7         |    Severity:  normal      
 Keywords:  has-patch   |  
------------------------+---------------------------------------------------
Changes (by jamescollins):

  * keywords:  has-patch dev-feedback => has-patch


Comment:

 Replying to [comment:15 Denis-de-Bernardy]:
 > $id should be $post->ID, else you've the ID of the last attachment
 instead of that of the post. once that's updated, but +1 tested commit and
 please close #9400 as dup.

 Thanks Denis.

 In {{{7678_combined2.diff}}} I have changed the attachment loop to use
 $attid instead of $id, so it doesn't conflict with the $id gallery
 parameter.

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


More information about the wp-trac mailing list