Opened 14 years ago
Closed 13 years ago
#21428 closed defect (bug) (worksforme)
Bad mail subject encoding on new blog notification
| Reported by: | TheSteelRat | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Multisite | Version: | 3.4.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Email subject is in Russian language. When trying to add new blog using page http://mysite.com/wp-admin/network/site-new.php, user gets email where subject is like - =??B??=. So I was trying to find where this bug appears. And I think, I found it.
Script tries to send notification using function wpmu_welcome_notification on line http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/ms-functions.php#L1250. But get_option('blog_charset') returns empty string, so header is bad-generated and encoded...
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Couldn't reproduce on a clean install.
get_option('blog_charset')in line 1250 returnsUTF-8.