[wp-trac] [WordPress Trac] #14819: Gallery shortcode output does not validate.

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 9 17:44:36 UTC 2010


#14819: Gallery shortcode output does not validate.
--------------------------+-------------------------------------------------
 Reporter:  jameslaws     |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  Awaiting Review        
Component:  Validation    |     Version:  3.0.1                  
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------
Changes (by t31os_):

 * cc: wp-t31os@… (added)
  * keywords:  => has-patch needs-testing


Comment:

 I assume an empty dd tag is valid, so i've simply added an extra
 conditional statement into the `gallery_shortcode` function.

 Patch is against 3.0.1 (finally figured out how that works), but i can re-
 do if any issues.

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


More information about the wp-trac mailing list