[wp-trac] Re: [WordPress Trac] #3052: pingback_ping() function displays wrong content in pingback-display in some occurances

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 21 11:49:53 GMT 2006


#3052: pingback_ping() function displays wrong content in pingback-display in some
occurances
-----------------------------------------+----------------------------------
 Reporter:  webrocker                    |        Owner:  anonymous
     Type:  defect                       |       Status:  new      
 Priority:  normal                       |    Milestone:           
Component:  XML-RPC                      |      Version:  2.0.4    
 Severity:  normal                       |   Resolution:           
 Keywords:  pingback|xmlrpc.php|has fix  |  
-----------------------------------------+----------------------------------
Comment (by Webrocker):

 sorry, i messed the formatting in the orig post... should read:
 (...) Possible fix: on line 1192 in xmlrpc.php:
 {{{
 #!php
 $linea = preg_replace( “/ <
 (h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body)[^>]*>/”,
 “\n\n”, $linea );
 }}}
 the "div" tag is not recognized. changing that to:
 {{{
 #!php
 $linea = preg_replace( “/ <
 (h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body|div)[^>]*>/”,
 “\n\n”, $linea );
 }}}
 fixed the problems for my blog. (...)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3052>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list