Make WordPress Core

Ticket #37836: 37836.2.patch

File 37836.2.patch, 1.4 KB (added by Mista-Flo, 8 years ago)

Better fix

  • wp-admin/user-new.php

    diff --git wp-admin/user-new.php wp-admin/user-new.php
    index 38b78dd..a1997f3 100644
    if ( ! empty( $messages ) ) { 
    304304
    305305<?php
    306306if ( is_multisite() ) {
    307         if ( $do_both )
    308                 echo '<h2 id="add-existing-user">' . __( 'Add Existing User' ) . '</h2>';
    309         if ( !is_super_admin() ) {
     307        echo '<h2 id="add-existing-user">' . __( 'Add Existing User' ) . '</h2>';
     308        if ( ! is_super_admin() ) {
    310309                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>';
    311310                $label = __('Email');
    312311                $type  = 'email';