WordPress.org

Make WordPress Core

Ticket #17282: dashboard_recent_comments.diff

File dashboard_recent_comments.diff, 877 bytes (added by ryanimel, 3 years ago)

This one should be correct. Sorry about the misstep.

  • wp-admin/includes/dashboard.php

     
    630630 
    631631<?php 
    632632                if ( current_user_can('edit_posts') ) { ?> 
    633                         <p class="textright"><a href="edit-comments.php" class="button"><?php _e('View all'); ?></a></p> 
     633                        <?php _get_list_table('WP_Comments_List_Table')->views(); ?> 
    634634<?php   } 
    635635 
    636636                wp_comment_reply( -1, false, 'dashboard', false ); 
  • wp-admin/css/dashboard.dev.css

     
    203203        font-size: 10px; 
    204204} 
    205205 
     206#dashboard_recent_comments .subsubsub { 
     207        float: none; 
     208} 
     209 
    206210#the-comment-list { 
    207211        position: relative; 
    208212}