[wp-trac] [WordPress Trac] #24121: Blank title caused by PHP 5.4 htmlspecialchars() changes

WordPress Trac noreply at wordpress.org
Tue Apr 23 10:18:50 UTC 2013


#24121: Blank title caused by PHP 5.4 htmlspecialchars() changes
--------------------------+------------------------------
 Reporter:  trevHCS       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by trevHCS):

 * cc: trevattdp@… (added)


Comment:

 That does make more sense now - was never 100% sure about the UTF-8 cause.

 After doing more tests, I can conform this and the linked post content
 problem occur when the database is using something like "latin_swedish_ci"
 as the table collation as one of the blogs we run has "utf8_general_ci"
 and that does not suffer this problem.

 As for page encoding, that seems set as ISO-8859-1 on those non UTF-8
 blogs in the database 'options' table.

 So it looks like both problems will affect older blogs before 'DB_CHARSET'
 in wp-config became utf8 by default at a guess?

 As a side note - I've also found the same problem in the comments editor
 too but not completely sure where in the code yet.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24121#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list