[wp-trac] [WordPress Trac] #8004: comment_reply_link and cancel issues

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 29 21:01:34 GMT 2008


#8004: comment_reply_link and cancel issues
----------------------+-----------------------------------------------------
 Reporter:  filosofo  |       Owner:  anonymous                                             
     Type:  defect    |      Status:  new                                                   
 Priority:  normal    |   Milestone:  2.7                                                   
Component:  General   |     Version:  2.7                                                   
 Severity:  normal    |    Keywords:  comment_reply_link cancel_comment_reply_link has-patch
----------------------+-----------------------------------------------------
 Issues:
  * Not following WP template tag practice with regard to names:
 {{{comment_reply_link}}} and {{{cancel_comment_reply_link}}} seem
 parallel, but one echoes and the other returns.  WP practice is to have a
 {{{get_[name]}}} to return and a {{{[name]}}} function to echo
 {{{get_[name]}}}'s return.
  * No filters.  That means in the case of the {{{comment_reply_link}}}
 that one is stuck with inline !JavaScript, which may be undesirable for a
 number of reasons:
   * There is no way for plugins to change the attached events.
   * There are accessibility problems.
   * Someone might not want to pollute the global !JavaScript namespace.
   * It violates the principle of separating meaning, style, and behavior.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8004>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list