WordPress.org

Make WordPress Core

Changeset 39407


Ignore:
Timestamp:
12/01/16 03:05:32 (7 months ago)
Author:
rachelbaker
Message:

REST API: Correct the admin_email setting description for single site installs.
Display different descriptions for multisite or single site installations.

Props johnbillion, ocean90.

Merges [39406] to the 4.7 branch.
Fixes #38990 for 4.7

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-includes/option.php

    r39383 r39407  
    17571757        ), 
    17581758        'type'         => 'string', 
    1759         'description'  => __( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. The new address will not become active until confirmed.' ), 
     1759        'description'  => is_multisite() ? __( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. The new address will not become active until confirmed.' ) : __( 'This address is used for admin purposes, like new user notification.' ), 
    17601760    ) ); 
    17611761 
Note: See TracChangeset for help on using the changeset viewer.