WordPress.org

Make WordPress Core

Ticket #46920: 46920.2.patch

File 46920.2.patch, 3.6 KB (added by ramiy, 3 years ago)
  • wp-admin/includes/class-wp-automatic-updater.php

     
    648648
    649649                switch ( $type ) {
    650650                        case 'success': // We updated.
    651                                 /* translators: 1: Site name, 2: WordPress version number. */
     651                                /* translators: Site updated notification email subject. 1: Site name, 2: WordPress version number. */
    652652                                $subject = __( '[%1$s] Your site has updated to WordPress %2$s' );
    653653                                break;
    654654
    655655                        case 'fail':   // We tried to update but couldn't.
    656656                        case 'manual': // We can't update (and made no attempt).
    657                                 /* translators: 1: Site name, 2: WordPress version number. */
     657                                /* translators: Updated available notification email subject. 1: Site name, 2: WordPress version number. */
    658658                                $subject = __( '[%1$s] WordPress %2$s is available. Please update!' );
    659659                                break;
    660660
    661661                        case 'critical': // We tried to update, started to copy files, then things went wrong.
    662                                 /* translators: 1: Site name. */
     662                                /* translators: Site down notification email subject. 1: Site name. */
    663663                                $subject = __( '[%1$s] URGENT: Your site may be down due to a failed update' );
    664664                                break;
    665665
     
    911911                        );
    912912                        $body[] = '';
    913913
    914                         /* translators: Background update failed notification email subject. %s: site title */
     914                        /* translators: Background update failed notification email subject. %s: Site name */
    915915                        $subject = sprintf( __( '[%s] Background Update Failed' ), $site_title );
    916916                } else {
    917                         /* translators: Background update finished notification email subject. %s: site title */
     917                        /* translators: Background update finished notification email subject. %s: Site name */
    918918                        $subject = sprintf( __( '[%s] Background Update Finished' ), $site_title );
    919919                }
    920920
  • wp-admin/includes/file.php

     
    24232423        $mail_success = wp_mail(
    24242424                $email_address,
    24252425                sprintf(
     2426                        /* translators: Personal data export notification email subject. %s: Site name */
    24262427                        __( '[%s] Personal Data Export' ),
    24272428                        $site_name
    24282429                ),
  • wp-admin/includes/misc.php

     
    12891289        $content      = str_replace( '###SITENAME###', wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), $content );
    12901290        $content      = str_replace( '###SITEURL###', home_url(), $content );
    12911291
     1292        /* translators: New admin email address notification email subject. %s: Site name */
    12921293        wp_mail( $value, sprintf( __( '[%s] New Admin Email Address' ), wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ) ), $content );
    12931294
    12941295        if ( $switched_locale ) {
  • wp-admin/user-new.php

     
    122122Please click the following link to confirm the invite:
    123123%4$s'
    124124                        );
     125
     126                        /* translators: Joining confirmation notification email subject. %s: Site name */
    125127                        wp_mail( $new_user_email, sprintf( __( '[%s] Joining Confirmation' ), wp_specialchars_decode( get_option( 'blogname' ) ) ), sprintf( $message, get_option( 'blogname' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ), home_url( "/newbloguser/$newuser_key/" ) ) );
    126128
    127129                        if ( $switched_locale ) {