﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16405,filter escaping close comment only,pehrlich,,"WP 3.0.4

With this code on a page:

""wegege<!-- asd> -->ertgew""

the opening comment does not get escaped, while the closing does.  Used in the following test code, which is used to display child pages on a parent page.

{{{

 <?php 
      global $post;
        $args = array(
  'post_type' => 'page',
  'numberposts' => 10,
  'post_status' => 'publish',
  'post_parent' => $post->ID, 

  );
  $attachments = get_posts($args);
  if ($attachments && is_page()) 
  {
    foreach ($attachments as $post) 
    {
      echo '<div class=""box""> ';
      echo apply_filters('the_content', $post->post_content);
//      echo  $post->post_content;
      echo '</div>';
    }
  }
      ?>
}}}



Note that this snippet, in comparison, works correctly:

""wegege<!-- > -->ertgew""
",defect (bug),closed,normal,,General,,normal,duplicate,close,
