WordPress.org

Make WordPress Core

Ticket #9935: 9935.patch

File 9935.patch, 820 bytes (added by hakre, 6 years ago)

First Patch

  • wp-admin/edit-comments.php

     
    309309 
    310310<tbody id="the-comment-list" class="list:comment"> 
    311311<?php 
    312         foreach ($comments as $comment) 
     312        foreach ($comments as $comment) { 
     313                $comment = get_comment_to_edit($comment->comment_ID); 
    313314                _wp_comment_row( $comment->comment_ID, $mode, $comment_status ); 
     315        } 
    314316?> 
    315317</tbody> 
    316318<tbody id="the-extra-comment-list" class="list:comment" style="display: none;"> 
    317319<?php 
    318         foreach ($extra_comments as $comment) 
     320        foreach ($extra_comments as $comment) { 
     321                $comment = get_comment_to_edit($comment->comment_ID); 
    319322                _wp_comment_row( $comment->comment_ID, $mode, $comment_status ); 
     323        } 
    320324?> 
    321325</tbody> 
    322326</table>