[wp-trac] [WordPress Trac] #14984: No backlink in comment error messages

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 28 18:02:26 UTC 2010


#14984: No backlink in comment error messages
-------------------------+--------------------------------------------------
 Reporter:  doktorbro    |       Owner:                 
     Type:  enhancement  |      Status:  assigned       
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  3.0.1          
 Severity:  normal       |    Keywords:  UI             
-------------------------+--------------------------------------------------

Comment(by doktorbro):

 Replying to [comment:2 RAMIY]:
 > I agree, we have to change the white screen. The "Back" link is a nice
 start but we need to allow users to change the error message the page
 design.

 Yes, design is important. But the "Back" link only is a huge step. Start
 it, please. All you have to do, is change

 {{{
 wp_die( __('Error: please type a comment.') );
 }}}

 to something like

 {{{
 wp_die(  __('Error: please type a comment.') ,
 __('Error: please type a comment.') . ' | ' . get_bloginfo ( 'name' ),
 array( 'response' => 500, 'back_link' => true ) );
 }}}

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


More information about the wp-trac mailing list