[wp-trac] Re: [WordPress Trac] #1464: wp-atom.php produces invalid enclosure

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 23 18:17:30 GMT 2007


#1464: wp-atom.php produces invalid enclosure
-----------------------+----------------------------------------------------
 Reporter:  raster     |        Owner:  rob1n   
     Type:  defect     |       Status:  assigned
 Priority:  normal     |    Milestone:  2.2     
Component:  General    |      Version:  2.1     
 Severity:  normal     |   Resolution:          
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by dougal):

 Is the '''{{{if ( is_array($val) )}}}''' really necessary, since you cast
 to an array in the foreach?

 Also, it's missing a closing curly brace at the end.

 Other than that, and the fact that we've moved the feed generation code
 under wp-includes recently, it appears to be fine.

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


More information about the wp-trac mailing list