[wp-trac] Re: [WordPress Trac] #7064: Validation fix for WP Planet feed dashboard widget

WordPress Trac wp-trac at lists.automattic.com
Fri May 30 06:21:06 GMT 2008


#7064: Validation fix for WP Planet feed dashboard widget
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  lowest          |    Milestone:  2.6      
Component:  Administration  |      Version:  2.6      
 Severity:  minor           |   Resolution:           
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Comment (by mdawaffe):

 It looks like using {{{$item['title']}}} for {{{$author}}} and {{{$post}}}
 was a typo since the previously unused {{{$title}}} variable was already
 wp_specialchars()d.  I've attached a patch that uses that one
 wp_specialchars() call and an explode (which should be good enough) rather
 than the two regexes.

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


More information about the wp-trac mailing list