[wp-trac] [WordPress Trac] #20490: Move submit_button to wp-includes for frontend inclusion & use with comment-template.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 19 18:04:56 UTC 2012
#20490: Move submit_button to wp-includes for frontend inclusion & use with
comment-template.php
-------------------------+-----------------------------
Reporter: wpsmith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
It would be nice to be able to use submit_button() on the frontend as well
(cf. #15064). It appears that #16066 "fixed" #16061, which it did, but
moving the submit_button functions would enable to revert back to the use
of submit_button(). Moreover, I recommend changing the comment-
template.php in wp-includes
([http://core.trac.wordpress.org/changeset/16066#file2 16066#file2]) to
use a filter with the submit_button to enable attributes like onClick. As
it stands right now, if a user wants to track comments in their analytics
they have to hide the original and add a function hooked into comment_form
and redo all the args.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20490>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list