Make WordPress Core

Ticket #44099: 44099.3.diff

File 44099.3.diff, 1.3 KB (added by desrosj, 8 years ago)
  • src/wp-includes/user.php

     
    29732973                return;
    29742974        }
    29752975
    2976         $manage_url = add_query_arg( 'page', $request_data->action_name, admin_url( 'tools.php' ) );
     2976        $manage_url         = add_query_arg( 'page', $request_data->action_name, admin_url( 'tools.php' ) );
     2977        $action_description = wp_user_request_action_description( $request_data->action_name );
    29772978
    29782979        /**
    29792980         * Filters the recipient of the data request confirmation notification.
    … …  
    29942995        $email_data = array(
    29952996                'request'     => $request_data,
    29962997                'user_email'  => $request_data->email,
    2997                 'description' => wp_user_request_action_description( $request_data->action_name ),
     2998                'description' => $action_description,
    29982999                'manage_url'  => $manage_url,
    29993000                'sitename'    => get_option( 'blogname' ),
    30003001                'siteurl'     => home_url(),
    … …  
    30573058        $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
    30583059
    30593060        $subject = sprintf(
    3060                 /* translators: %s Site name. */
    3061                 __( '[%s] Action Confirmed' ),
    3062                 $blogname
     3061                /* translators: 1: Site name. 2: Name of the confirmed action. */
     3062                __( '[%1$s] Action Confirmed: %2$s' ),
     3063                $blogname,
     3064                $action_description
    30633065        );
    30643066
    30653067        /**