[wp-trac] [WordPress Trac] #16430: Comment 'Reply' button still present when comment max depth has been reached, just without text.

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 7 19:25:51 UTC 2011


#16430: Comment 'Reply' button still present when comment max depth has been
reached, just without text.
--------------------------+------------------------------
 Reporter:  TheGremlyn    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  3.0.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by travelvice):

 I could've sworn that I saw a 'before' and 'after' variables that could be
 set in '''get_comment_reply_link''', which is called by
 '''comment_reply_link'''.

 Perhaps possible to remove the depth evaluation and simply move the
 opening and closing div's to be placed before and after when it returns
 true.

 http://core.trac.wordpress.org/browser/tags/3.1.1/wp-includes/comment-
 template.php

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


More information about the wp-trac mailing list