[wpmu-trac] [WordPress MU Trac] #1097: Backslash added in front of apostrophe's in the blog name via wpmu-edit.php

WordPress MU Trac wpmu-trac at lists.automattic.com
Fri Sep 11 09:41:46 UTC 2009


#1097: Backslash added in front of apostrophe's in the blog name via wpmu-edit.php
------------------------+---------------------------------------------------
 Reporter:  deannas     |       Owner:  donncha 
     Type:  defect      |      Status:  assigned
 Priority:  normal      |   Milestone:          
Component:  component1  |     Version:  2.8.2   
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------

Comment(by donncha):

 Notes: <a href="http://mu.wordpress.org/forums/topic/13899">some
 people</a> have had problems with site_options too.

 Versions previous to 2.7.1 added slashes to values which explains why
 a:1:{i:0;s:5:\"admin\";} appears in the site_admin field for those who
 upgraded. My brand new 2.7.1 install didn't have them.

 What 2.7.1 does have is a stripslashes() in the get_site_option()
 function. So, even though it didn't addslashes() it was backwards
 compatible. Unfortunately I removed that stripslashes() in 2.8.4

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1097#comment:6>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list