[wp-trac] [WordPress Trac] #31282: finally introduce comments templating
WordPress Trac
noreply at wordpress.org
Tue Feb 10 13:18:32 UTC 2015
#31282: finally introduce comments templating
-------------------------+-----------------------------
Reporter: ageibert | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.1
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
after spending several hours with styling my comments, comment form and
using a plugin for the error messages, by default wordpress leads to a new
unstyled page showing the errors and only leading back to the homepage if
one presses the browser's back button, i'm asking myself why there are no
templates and functionality for this all day task.
please introduce:
- a template for the comments
... yes i know there is comments.php but the comments themself must be
templated in a callback function which is terrible (e.g. <?php
wp_list_comments( array( 'callback' => 'shape_comment' ) ); ?>)
- a template for the comment form
... yes i know there is athe possibility to give the comment_form function
$args, but this is much more terrible than the comment list "templating",
having the need to "template" the comment form in an array
(!!!...........)
- a way that wordpress reloads the current post page if a user sends a
comment and is missing required fields like the comment itsself or his/her
email address. afterwards showing error messages besides (or wherever my
template says so) the comment form fields.
that would be a fundamental improvement and a must.
i can't explain, why everything in wordpress is so easy to template but
the comments.
best regards
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31282>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list