[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 19:10:35 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       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by scribu):

 submit_button() was never meant for the front-end; the idea was to
 encapsulate some common markup, with one parameter for the name and
 another for the text. But, as it was applied throughout the admin, it was
 discovered that the markup wasn't actually the same everywhere, so more
 and more arguments were piled on.

 Adding another filter inside comment-template.php is a different matter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20490#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list