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

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 10 10:23:18 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
--------------------------+-------------------------------------------------

Comment(by t31os_):

 It change the output for gallery shortcode, the code works perfectly fine
 for me (i was working on a gallery page when i spotted your ticket), so i
 was able to confirm that firstly the gallery shortcode did not produce the
 dd tags, and secondly that adding the new condition ensures empty tags are
 now introduced.

 All i did was wrap up the change into a patch for testing.

 Can you confirm the patch applied correctly and that the new code exists
 in `wp-includes/media.php`.

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


More information about the wp-trac mailing list