[wp-trac] Re: [WordPress Trac] #2059: Slashes stripped in <pre> (caused by #1793)

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 21 17:52:40 GMT 2007


#2059: Slashes stripped in <pre> (caused by #1793)
------------------------------------+---------------------------------------
 Reporter:  allan                   |        Owner:  anonymous
     Type:  defect                  |       Status:  closed   
 Priority:  normal                  |    Milestone:  2.3      
Component:  General                 |      Version:  1.5.2    
 Severity:  normal                  |   Resolution:  fixed    
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------
Comment (by DelGurth):

 Replying to [comment:8 mdawaffe]:
 > Since wpautop can be called dozens of times per page loead, we should
 probably not use create_function().

 Sounds like a wise idea. I'm new to wordpress and with the first real item
 I wanted to post I encountered this bug, so I was kinda in a hurry to
 create a fix. I was not sure if I could alter the  clean_pre() function,
 but if I had used your method I should not have worried about it.

 Thanks for using my input to kill the bug.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2059#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list