WordPress.org

Make WordPress Core

Ticket #20271: 20271.3.patch

File 20271.3.patch, 1.5 KB (added by topher1kenobe, 3 years ago)

My version wraps the entire area in a div and applies a simple p to the paragraph.

  • wp-admin/user-new.php

     
    258258<?php 
    259259if ( is_multisite() ) { 
    260260        if ( $do_both ) 
     261 
     262                echo '<div id="add-existing-user-wrap">'; 
     263 
    261264                echo '<h3 id="add-existing-user">' . __('Add Existing User') . '</h3>'; 
    262265        if ( !is_super_admin() ) { 
    263                 _e( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ); 
     266                echo '<p>' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>'; 
    264267                $label = __('E-mail'); 
    265268        } else { 
    266                 _e( 'Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ); 
     269                echo '<p>' . __( 'Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>'; 
    267270                $label = __('E-mail or Username'); 
    268271        } 
    269272?> 
     
    293296<?php submit_button( __( 'Add Existing User '), 'primary', 'adduser', true, array( 'id' => 'addusersub' ) ); ?> 
    294297</form> 
    295298<?php 
     299// end wrap div 
     300echo '</div>'; 
     301 
     302 
    296303} // is_multisite() 
    297304 
    298305if ( current_user_can( 'create_users') ) {