mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
8f76467c57
commit
b8aaa1efae
@ -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