[wp-trac] [WordPress Trac] #10734: Gallery Shortcode Causes XHTML Validation Failure
WordPress Trac
wp-trac at lists.automattic.com
Tue May 3 07:15:45 UTC 2011
#10734: Gallery Shortcode Causes XHTML Validation Failure
--------------------------+-----------------------
Reporter: achmafooma | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Gallery | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------
Changes (by nacin):
* status: closed => reopened
* resolution: fixed =>
* milestone: Future Release =>
Comment:
Replying to [comment:19 chipbennett]:
> Then I don't think this is an acceptable solution.
>
> The ''default'' WordPress behavior should be standards-compliant, and
hacks should be ''added'' via filter - not the other way around.
We don't have much of a choice here. Shortcodes aren't processed until
after we're generating the body. A theme can work around this. Indeed, the
default WordPress behavior for both Twenty Ten and Twenty Eleven is
compliant.
Eventually, the standard will catch up and allow us to set a scope for
<style> in <body>.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10734#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list