[wp-trac] Re: [WordPress Trac] #6877: preg_replace in wpautop deletes all the text in the post

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 18 06:40:37 GMT 2008


#6877: preg_replace in wpautop deletes all the text in the post
----------------------------------------------------+-----------------------
 Reporter:  duncanmc                                |        Owner:  azaozz  
     Type:  defect                                  |       Status:  assigned
 Priority:  highest omg bbq                         |    Milestone:  2.7     
Component:  Administration                          |      Version:  2.5.1   
 Severity:  critical                                |   Resolution:          
 Keywords:  reporter-feedback , wpautop, has_patch  |  
----------------------------------------------------+-----------------------
Changes (by azaozz):

  * status:  new => assigned

Comment:

 Replying to [comment:7 duncanmc]:
 > azaozz proposed a solution. Can you apply it?

 Unfortunately this solution makes almost no difference (tested with 800KB
 post). Ryan's solution should work better, as splitting would virtually do
 no backtracking and could also be faster for large posts.

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


More information about the wp-trac mailing list