[wp-trac] Re: [WordPress Trac] #6461: Generated Gallery markup is invalid

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 5 04:24:20 GMT 2008


#6461: Generated Gallery markup is invalid
-----------------------+----------------------------------------------------
 Reporter:  shelleyp   |        Owner:  anonymous
     Type:  defect     |       Status:  closed   
 Priority:  normal     |    Milestone:  2.6      
Component:  Template   |      Version:  2.5      
 Severity:  normal     |   Resolution:  fixed    
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by shelleyp):

 Replying to [comment:2 Nazgul]:
 > shelleyp, thanks for reporting this issue!
 >
 > Could you be so kind to attach a .diff file in the future instead of
 linking to an entire file. That way the core devs don't have to weed
 through the entire file looking for your changes.

 >

 Actually, I didn't really consider this a true patch. A better fix would
 be to actually add photo information to the alt attribute, but I couldn't
 take the time to figure out how to access this information in this
 function. Instead, I just added the empty alt attribute, so the image
 would validate.

 This was more of a demonstration than a formal patch. However, I'll
 remember the diffs if I formally submit any other changes.

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


More information about the wp-trac mailing list