Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.

git-svn-id: https://develop.svn.wordpress.org/trunk@14618 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-14 01:54:21 +00:00
parent 0d472228a2
commit 21db580d98
1 changed files with 1 additions and 1 deletions

View File

@ -1247,7 +1247,7 @@ function get_media_item( $attachment_id, $args = null ) {
if ( !empty( $media_dims ) )
$item .= "<p><strong>" . __('Dimensions:') . "</strong> $media_dims</p>\n";
echo "</td></tr>\n";
$item .= "</td></tr>\n";