Changeset 39323 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 11/21/2016 01:21:01 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r39203 r39323 847 847 */ 848 848 apply_filters( 'wpmu_signup_blog_notification_subject', 849 __( '[%1$s] Activate %2$s' ), 849 /* translators: New site notification email subject. 1: Network name, 2: New site URL */ 850 _x( '[%1$s] Activate %2$s', 'New site notification email subject' ), 850 851 $domain, $path, $title, $user_login, $user_email, $key, $meta 851 852 ), … … 940 941 */ 941 942 apply_filters( 'wpmu_signup_user_notification_subject', 942 __( '[%1$s] Activate %2$s' ), 943 /* translators: New user notification email subject. 1: Network name, 2: New user login */ 944 _x( '[%1$s] Activate %2$s', 'New user notification email subject' ), 943 945 $user_login, $user_email, $key, $meta 944 946 ), … … 1203 1205 restore_current_blog(); 1204 1206 1207 /* translators: New site notification email. 1: Site URL, 2: User IP address, 3: Settings screen URL */ 1205 1208 $msg = sprintf( __( 'New Site: %1$s 1206 1209 URL: %2$s … … 1245 1248 1246 1249 $options_site_url = esc_url(network_admin_url('settings.php')); 1250 /* translators: New user notification email. 1: User login, 2: User IP address, 3: Settings screen URL */ 1247 1251 $msg = sprintf(__('New User: %1$s 1248 1252 Remote IP: %2$s … … 1524 1528 $current_network->site_name = 'WordPress'; 1525 1529 1530 /* translators: New site notification email subject. 1: Network name, 2: New site name */ 1531 $subject = __( 'New %1$s Site: %2$s' ); 1532 1526 1533 /** 1527 1534 * Filters the subject of the welcome email after site activation. … … 1531 1538 * @param string $subject Subject of the email. 1532 1539 */ 1533 $subject = apply_filters( 'update_welcome_subject', sprintf( __( 'New %1$s Site: %2$s' ), $current_network->site_name, wp_unslash( $title ) ) );1540 $subject = apply_filters( 'update_welcome_subject', sprintf( $subject, $current_network->site_name, wp_unslash( $title ) ) ); 1534 1541 wp_mail( $user->user_email, wp_specialchars_decode( $subject ), $message, $message_headers ); 1535 1542 … … 1609 1616 $current_network->site_name = 'WordPress'; 1610 1617 1618 /* translators: New user notification email subject. 1: Network name, 2: New user login */ 1619 $subject = __( 'New %1$s User: %2$s' ); 1620 1611 1621 /** 1612 1622 * Filters the subject of the welcome email after user activation. … … 1616 1626 * @param string $subject Subject of the email. 1617 1627 */ 1618 $subject = apply_filters( 'update_welcome_user_subject', sprintf( __( 'New %1$s User: %2$s' ), $current_network->site_name, $user->user_login) );1628 $subject = apply_filters( 'update_welcome_user_subject', sprintf( $subject, $current_network->site_name, $user->user_login) ); 1619 1629 wp_mail( $user->user_email, wp_specialchars_decode( $subject ), $message, $message_headers ); 1620 1630
Note: See TracChangeset
for help on using the changeset viewer.