mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Replace the global $id from manage_media_custom_column action with $post-ID. Missed in [24337]. props nickdaugherty. fixes #24476.
git-svn-id: http://core.svn.wordpress.org/trunk@24396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1c84a1fe92
commit
9c5c9dc805
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user