[wp-trac] [WordPress Trac] #56495: For multi site, The emial content used with sprint and filter wpmu_signup_user_notification_email

WordPress Trac noreply at wordpress.org
Fri Sep 2 08:07:44 UTC 2022


#56495: For multi site, The emial content used with sprint and filter
wpmu_signup_user_notification_email
--------------------------+-----------------------------
 Reporter:  kp4net        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.0.2
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  multisite     |
--------------------------+-----------------------------
 In the file "wp-includes/ms-functions.php" line no 1082.

 It's used sprintf function and also used filters in it as well so if
 someone applies this filter and updates the content of the subject with
 any specifiers from the below screenshot it will throw an error as sprintf
 function has only a string to replace but if the someone update content
 with more specifiers will not work.
 So we should separate out sprintf and filter that is used in it.



 Thanks

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56495>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list