[wp-trac] [WordPress Trac] #10734: Gallery Shortcode Causes XHTML Validation Failure
WordPress Trac
wp-trac at lists.automattic.com
Tue May 3 19:54:14 UTC 2011
#10734: Gallery Shortcode Causes XHTML Validation Failure
--------------------------+-------------------------
Reporter: achmafooma | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Gallery | Version:
Severity: normal | Resolution: maybelater
Keywords: |
--------------------------+-------------------------
Comment (by chipbennett):
Replying to [comment:27 johnbillion]:
> Replying to [comment:26 chipbennett]:
> > It's not ''only'' about the standard. Inline CSS is a pain in the rear
for Theme developers to override
> I don't think one line of code:
> {{{
> add_filter( 'use_default_gallery_style', '__return_false' );
> }}}
> is that hard for any developer to add to a theme.
And now we're arguing in circles.
No, it's not hard. But it's the polar opposite of what ''should'' be done.
Theme Developers shouldn't have to ''undo'' something that should never
have been done in the first place. Theme developers ''shouldn't have to''
fix core's invalid markup. Theme developers ''shouldn't have to''
implement workarounds to undo arbitrary styling.
Core does not define styling for any other markup. Why does gallery markup
get this special dispensation - and to the degree that it is deemed so
vitally important that it causes core to output invalid markup in order to
implement?
Further: the argument that it's easy to fix rather invalidates the
hyperbolic assertion that fixing it would cause breakage for millions of
users.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10734#comment:28>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list