WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/06/2009 03:20:38 AM (13 years ago)
Author:
azaozz
Message:

Force-wrap comments in Recent Comments on the dashboard, expand width when no avatar, fixes #9283

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r10697 r10729  
    551551
    552552            <?php echo get_avatar( $comment, 50 ); ?>
     553
     554            <div class="dashboard-comment-wrap">
    553555            <h4 class="comment-meta"><?php printf( __( 'From %1$s on %2$s%3$s' ), '<cite class="comment-author">' . get_comment_author_link() . '</cite>', $comment_post_link." ".$comment_link, ' <span class="approve">' . __( '[Pending]' ) . '</span>' ); ?></h4>
    554556
     
    567569                $type = wp_specialchars( $type );
    568570            ?>
     571            <div class="dashboard-comment-wrap">
    569572            <?php /* translators: %1$s is type of comment, %2$s is link to the post */ ?>
    570573            <h4 class="comment-meta"><?php printf( _x( '%1$s on %2$s', 'dashboard' ), "<strong>$type</strong>", $comment_post_link ); ?></h4>
     
    582585                <div class="comment_status"><?php echo $comment->comment_approved; ?></div>
    583586            </div>
    584 
     587            </div>
    585588        </div>
    586589<?php
Note: See TracChangeset for help on using the changeset viewer.