[wp-trac] [WordPress Trac] #15810: Dashboard comment reply doesn't work: wheel keeps rolling

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 14 15:44:45 UTC 2010


#15810: Dashboard comment reply doesn't work: wheel keeps rolling
-------------------------------------+--------------------------------------
 Reporter:  garyc40                  |        Owner:          
     Type:  defect (bug)             |       Status:  reopened
 Priority:  normal                   |    Milestone:  3.1     
Component:  Comments                 |      Version:  3.1     
 Severity:  normal                   |   Resolution:          
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------

Comment(by garyc40):

 In 3.0.3, line 747, 748:

 {{{
 $modes = array( 'single', 'detail', 'dashboard' );
 $mode = isset($_POST['mode']) && in_array( $_POST['mode'], $modes ) ?
 $_POST['mode'] : 'detail';
 }}}

 In current trunk:

 {{{
 if ( 'dashboard' == $_REQUEST['mode'] ) {
 }}}

 A diff search from r16807 (3.0.3) to r16914 (current trunk) yields this:
 http://core.trac.wordpress.org/changeset?old_path=/trunk/wp-admin/admin-
 ajax.php&old=16807&new_path=/trunk/wp-admin/admin-ajax.php&new=16914

 Absolutely no diff that represents changes from 3.0.3 to current trunk.

 From what I learnt, $mode here refers to the comment reply form mode in
 wp_comment_reply() . It's just for checking whether the reply comes from
 the dashboard ($mode = 'dashboard'), admin comments page ($mode =
 'detail') etc.

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


More information about the wp-trac mailing list