WordPress.org

Make WordPress Core

Ticket #18132: 18132.diff

File 18132.diff, 1.2 KB (added by brianlayman, 4 years ago)

Improved wording for the delete confirmation screen

  • network/edit.php

     
    2626        screen_icon(); 
    2727        ?> 
    2828        <h2><?php esc_html_e( 'Users' ); ?></h2> 
    29         <p><?php _e( 'Transfer or delete posts and links before deleting users.' ); ?></p> 
     29        <p><?php _e( 'You have chosen to delete the following user(s) from all networks and sites.' ); ?></p> 
     30        <p><?php _e( 'Once you hit "Confirm Delete", the user(s) will be permanently removed.  There is no undo.' ); ?></p> 
    3031        <form action="edit.php?action=dodelete" method="post"> 
    3132        <input type="hidden" name="dodelete" /> 
    3233        <?php 
     
    4950 
    5051                        if ( !empty( $blogs ) ) { 
    5152                                ?> 
    52                                 <br /><fieldset><p><legend><?php printf( __( "What should be done with posts and links owned by <em>%s</em>?" ), $delete_user->user_login ); ?></legend></p> 
     53                                <br /><fieldset><p><legend><?php printf( __( "What should be done with any posts and links owned by <em>%s</em>?" ), $delete_user->user_login ); ?></legend></p> 
    5354                                <?php 
    5455                                foreach ( (array) $blogs as $key => $details ) { 
    5556                                        $blog_users = get_users( array( 'blog_id' => $details->userblog_id ) );