[wp-trac] [WordPress Trac] #10385: WP comment notifications entity encode blog name

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 11 20:14:14 UTC 2009


#10385: WP comment notifications entity encode blog name
-----------------------------+----------------------------------------------
 Reporter:  robertaccettura  |       Owner:                                  
     Type:  defect (bug)     |      Status:  new                             
 Priority:  normal           |   Milestone:                                  
Component:  Comments         |     Version:  2.8.1                           
 Severity:  normal           |    Keywords:  entity, comment email regression
-----------------------------+----------------------------------------------
 I've noticed since going from 1.8 to 1.8.1 the blog name is now escaped as
 entities breaking my email filters to sort blog comment/trackback email
 into another folder.

 Give the blog a name with a character that would encoded such as:
 Robert Accettura's Fun With Wordage

 The email subjects will look like this:
 [Robert Accettura's Fun With Wordage] Comment: "Test Post"

 rather than the desired (and correct):
 [Robert Accettura's Fun With Wordage] Comment: "Test Post"

 It looks like get_option('blogname') is already returning it encoded.  I
 don't see anything very obvious in the 1.8.1 changeset that looks like it
 would cause this regression.  Hopefully I can find a few more minutes to
 dig.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10385>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list