[wpmu-trac] [WordPress MU Trac] #398: wpmu_create_blog() double
	escapes title
    WordPress MU Trac 
    wpmu-trac at lists.automattic.com
       
    Thu Aug  2 16:02:27 GMT 2007
    
    
  
#398: wpmu_create_blog() double escapes title
------------------------+---------------------------------------------------
 Reporter:  Vimm        |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  WPMU 1.0
Component:  component1  |     Version:  1.0     
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 The function wpmu_create_blog() unnecessarily escapes the $title value
 passed to it, causing it to be double escaped before entering the
 database.  For example, the title "Vimm's Blog" would display as "Vimm\'s
 Blog".  Since the title is stored in the options table and options are
 always escaped before insertion, it is not necessary to escape it again
 here.  This can be corrected by commenting out line 1225 of wpmu-
 functions.php:
 $title = addslashes( $title );
-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/398>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
    
    
More information about the wpmu-trac
mailing list