Make WordPress Core

Changeset 4933


Ignore:
Timestamp:
02/24/2007 06:30:51 AM (18 years ago)
Author:
ryan
Message:

Typo fixes. Props Znuff. fixes #3859

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r4930 r4933  
    174174        return;
    175175
    176     foreach (get_post_custom() as $k => $v) {
     176    foreach (get_post_custom() as $key => $val) {
    177177        if ($key == 'enclosure') {
    178178            foreach ((array)$val as $enc) {
    179179                $enclosure = split("\n", $enc);
    180                 echo apply_filters('rss_enclosure', '<enclosure url="' . trim(htmlspecialchars($enclosure[0])) . '" length="' . trim($enclosure[1]) . '" type="' . trim($enclosure[2]) . '" />' . "\n";
     180                echo apply_filters('rss_enclosure', '<enclosure url="' . trim(htmlspecialchars($enclosure[0])) . '" length="' . trim($enclosure[1]) . '" type="' . trim($enclosure[2]) . '" />' . "\n");
    181181            }
    182182        }
     
    189189        return;
    190190
    191     foreach (get_post_custom() as $k => $v) {
     191    foreach (get_post_custom() as $key => $val) {
    192192        if ($key == 'enclosure') {
    193193            foreach ((array)$val as $enc) {
    194194                $enclosure = split("\n", $enc);
    195                 echo apply_filters('atom_enclosure', '<link href="' . trim(htmlspecialchars($enclosure[0])) . '" rel="enclosure" length="' . trim($enclosure[1]) . '" type="' . trim($enclosure[2]) . '" />' . "\n";
     195                echo apply_filters('atom_enclosure', '<link href="' . trim(htmlspecialchars($enclosure[0])) . '" rel="enclosure" length="' . trim($enclosure[1]) . '" type="' . trim($enclosure[2]) . '" />' . "\n");
    196196            }
    197197        }
Note: See TracChangeset for help on using the changeset viewer.