Make WordPress Core


Ignore:
Timestamp:
03/28/2014 02:43:04 AM (12 years ago)
Author:
nacin
Message:

Always decode special characters for email subjects.

props tlovett1, jeremyfelt.
fixes #25346.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-new.php

    r27469 r27801  
    8686Please click the following link to confirm the invite:
    8787%4$s' );
    88             wp_mail( $new_user_email, sprintf( __( '[%s] Joining confirmation' ), get_option( 'blogname' ) ), sprintf( $message, get_option( 'blogname' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ), home_url( "/newbloguser/$newuser_key/" ) ) );
     88            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/" ) ) );
    8989            $redirect = add_query_arg( array('update' => 'add'), 'user-new.php' );
    9090        }
Note: See TracChangeset for help on using the changeset viewer.