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:
parent
0d472228a2
commit
21db580d98
@ -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";
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user