?>
<label for="attachment_content" class="attachment-content-description"><strong><?php
_e( 'Description'
); ?></strong>
<?php
if ( preg_match( '#^(audio|video)/#',
$post->post_mime_type
) ) { echo ': ' .
__( 'Displayed on attachment pages.'
);
} ?>
</label>
<?php
wp_editor( format_to_edit( $post->post_content
), 'attachment_content',
$editor_args ); ?>
</div>
<?php
$extras =
get_compat_media_markup( $post->ID
);
echo $extras['item'
];
echo '<input type="hidden" id="image-edit-context" value="edit-attachment" />' . "\n";
}/**
* Displays non-editable attachment metadata in the publish meta box.
*
* @since 3.5.0
*/