[wp-trac] Re: [WordPress Trac] #4103: Pingbacks don't always work on (sub) pages // error in function url_to_postid

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 4 00:24:10 GMT 2007


#4103: Pingbacks don't always work on (sub) pages // error in function
url_to_postid
----------------------+-----------------------------------------------------
 Reporter:  Michael_  |        Owner:  anonymous
     Type:  defect    |       Status:  new      
 Priority:  normal    |    Milestone:  2.4      
Component:  General   |      Version:  2.1.3    
 Severity:  normal    |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by xorax):

 the way is to add at line # 128

 {{{
 $request_match = $request;
 }}}

 before

 {{{
 if ( (! empty($url)) && (strpos($match, $url) === 0) ) {
         $request_match = $url . '/' . $request;
 }
 }}}

 and remove line # 124

 {{{
 $request_match = $request;
 }}}

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


More information about the wp-trac mailing list