[buddypress-trac] [BuddyPress] #3249: comment list callback comment reply reply link empty div if comments off

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue May 24 17:28:24 UTC 2011


#3249: comment list callback comment reply reply link empty div if comments off
-------------------------------------------------+-------------------------
 Reporter:  hnla                                 |      Owner:
     Type:  defect                               |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
Component:  Theme                                |  Review
 Keywords:  comment reply link, comment options  |    Version:  1.3
-------------------------------------------------+-------------------------
 As the label says.  A comment placed has div.comment-options with a
 comment_reply_link() for nested replies all good, however if comments are
 'off' this reply link function returns zilch leaving empty div,

 This patch adds a conditional check for comments_open() and if not does
 else:  _e('Replies to comments are closed.

 The patch also corrects an issue where a stray &maddot is left in the
 nested comments comment-meta removing the &middot if comments closed

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3249>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list