Replace the global $id from manage_media_custom_column action with $post-ID. Missed in [24337]. props nickdaugherty. fixes #24476.

git-svn-id: https://develop.svn.wordpress.org/trunk@24396 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2013-06-01 09:40:00 +00:00
parent 8f76467c57
commit b8aaa1efae

View File

@ -377,7 +377,7 @@ foreach ( $columns as $column_name => $column_display_name ) {
}
?>
<td <?php echo $attributes ?>>
<?php do_action( 'manage_media_custom_column', $column_name, $id ); ?>
<?php do_action( 'manage_media_custom_column', $column_name, $post->ID ); ?>
</td>
<?php
break;