Make WordPress Core


Ignore:
Timestamp:
12/07/2013 01:14:43 AM (10 years ago)
Author:
nacin
Message:

Use wp_specialchars_decode() in the upgrade debugging email subject, same as the production email.

props markoheijnen.
fixes #26471.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r26736 r26762  
    23772377        }
    23782378
     2379        $site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES );
    23792380        if ( $failures ) {
    23802381            $body[] = __( "
     
    23902391Thanks! -- The WordPress Team" );
    23912392
    2392             $subject = sprintf( __( '[%s] There were failures during background updates' ), get_bloginfo( 'name' ) );
     2393            $subject = sprintf( __( '[%s] There were failures during background updates' ), $site_title );
    23932394        } else {
    2394             $subject = sprintf( __( '[%s] Background updates have finished' ), get_bloginfo( 'name' ) );
     2395            $subject = sprintf( __( '[%s] Background updates have finished' ), $site_title );
    23952396        }
    23962397
Note: See TracChangeset for help on using the changeset viewer.