WordPress.org

Make WordPress Core

Ticket #20271: 20271-1.diff

File 20271-1.diff, 1.2 KB (added by jkudish, 15 months ago)

adds a paragraph around the text with id "add-existing-user-text"

  • wp-admin/user-new.php

     
    258258        if ( $do_both ) 
    259259                echo '<h3 id="add-existing-user">' . __('Add Existing User') . '</h3>'; 
    260260        if ( !is_super_admin() ) { 
    261                 _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.' ); 
     261                echo '<p id="add-existing-user-text">'; 
     262                        _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.' ); 
     263                echo '</p>'; 
    262264                $label = __('E-mail'); 
    263265        } else { 
    264                 _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.' ); 
     266                echo '<p id="add-existing-user-text">'; 
     267                        _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.' ); 
     268                echo '</p>'; 
    265269                $label = __('E-mail or Username'); 
    266270        } 
    267271?>