[wp-trac] [WordPress Trac] #10734: Gallery Shortcode Causes XHTML Validation Failure

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 21 01:25:36 UTC 2009


#10734: Gallery Shortcode Causes XHTML Validation Failure
--------------------------+-------------------------------------------------
 Reporter:  achmafooma    |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.9        
Component:  Gallery       |     Version:             
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by achmafooma):

 Okay... since posting this bug I've become the maintainer of the
 aforementioned 'Gallery Shortcode Style to Head' plugin (go figure).

 I've attached a patch to media.php that fixes this issue. I used the same
 approach used in the plugin (props to its original author, Matt Martz
 [sivel], who did all the hard work here).

 Please be kind ;-) this is my first attempt ever submitting a patch for
 WordPress.

 All it does is move the style tag into the page head (which requires a
 couple new functions to read-ahead for the gallery shortcode).

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


More information about the wp-trac mailing list