[wp-trac] [WordPress Trac] #10910: Standardize comment form
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 10 20:44:33 UTC 2010
#10910: Standardize comment form
----------------------------+-----------------------------------------------
Reporter: Otto42 | Owner: beaulebens
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.0
Component: Comments | Version: 2.9
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Comment(by greenshady):
As a theme author, the last thing I want to do is tell 1,000s of users,
"Hey, look at this cool comment form function WP introduced. Yep, that's
why your comments section is broken after upgrading."
If we're going to introduce markup, theme authors need to be able to
override it. I'm specifically talking about the comment form title and
the cancel comment reply link. Personally, I'd rather just have a
callback function for creating my own comment form since I'm already
filtering everything anyway.
And, what's with all the divs? Do we really need a `<div>` wrapping every
single element of the form? I also agree with Otto about using `<p>`
instead.
Patch coming that's a bit leaner. At the very least, take some ideas from
it and make sure that we're not forcing theme authors into using specific
markup.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10910#comment:30>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list