[wp-trac] [WordPress Trac] #44396: Inconsistent use of blogname and sitename in Privacy emails

WordPress Trac noreply at wordpress.org
Tue Jul 3 16:59:39 UTC 2018


#44396: Inconsistent use of blogname and sitename in Privacy emails
--------------------------+------------------------
 Reporter:  desrosj       |       Owner:  flixos90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9.7
Component:  Privacy       |     Version:  4.9.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  multisite
--------------------------+------------------------
Changes (by flixos90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43388" 43388]:
 {{{
 #!CommitTicketReference repository="" revision="43388"
 Privacy: Use consistent values for the site name and URL used in
 notification emails.

 The functions `send_confirmation_on_profile_email()`,
 `_wp_privacy_send_request_confirmation_notification()`,
 `_wp_privacy_send_erasure_fulfillment_notification()`, and
 `wp_send_user_request()` all include a title and URL indicating the
 current site. However, so far they have dealt with those values
 inconsistently, sometimes using the site values, other times using the
 network values if in a multisite. This changeset ensures that only the
 current site is taken into account in all cases and that special
 characters in the site name are consistently decoded.

 Props subrataemfluence, desrosj.
 Fixes #44396.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44396#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list