[wp-trac] Re: [WordPress Trac] #8752: get_permalink() bug

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 29 22:39:24 GMT 2008


#8752: get_permalink() bug
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  anonymous
     Type:  defect (bug)       |       Status:  new      
 Priority:  normal             |    Milestone:  2.7.1    
Component:  General            |      Version:  2.7      
 Severity:  major              |   Resolution:           
 Keywords:                     |  
-------------------------------+--------------------------------------------
Comment (by Denis-de-Bernardy):

 $permalink = rtrim(get_option('home'), '/') . '/' .
 ltrim(str_replace($rewritecode, $rewritereplace, $permalink), '/');

 even... but you probably got the point.

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


More information about the wp-trac mailing list