Make WordPress Core

Changeset 1039


Ignore:
Timestamp:
03/31/2004 04:41:30 PM (21 years ago)
Author:
michelvaldrighi
Message:

fixed multiple breakage possibilities with feeds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-post.php

    r1027 r1039  
    6060    $content = get_the_content($more_link_text, $stripteaser, $more_file);
    6161    $content = apply_filters('the_content', $content);
     62    $content = str_replace(']]>', ']]>', $content);
    6263    echo $content;
    6364}
     
    9293        $content = $excerpt;
    9394    }
     95    $content = str_replace(']]>', ']]>', $content);
    9496    echo $content;
    9597}
     
    152154    } elseif ($encode_html == 2) {
    153155        $output = strip_tags($output);
     156        $output = str_replace('&', '&', $output);
    154157    }
    155158    if ($cut) {
     
    169172        $output = $excerpt;
    170173    }
     174    $output = str_replace(']]>', ']]>', $output);
    171175    echo $output;
    172176}
Note: See TracChangeset for help on using the changeset viewer.