[wp-trac] Re: [WordPress Trac] #5120: _wp_unfiltered_html_comment
breaks XHTML validity
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 28 00:22:05 GMT 2009
#5120: _wp_unfiltered_html_comment breaks XHTML validity
--------------------------+-------------------------------------------------
Reporter: jrawle | Owner: anonymous
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 2.9
Component: Template | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Changes (by azaozz):
* keywords: has-patch commit => has-patch
* milestone: 2.8.1 => 2.9
Comment:
Think that's a bad idea as `do_action('comment_form', $post->ID)` is used
for many different purposes like outputting extra fields, captcha, etc.
Forcing this inside a <p> or even a <div> would break current plugins
and/or themes. Could possibly wrap the string in a <div> before it's
echoed but still would need testing to make sure it doesn't affect
anything else.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/5120#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list