Make WordPress Core

Changeset 24396


Ignore:
Timestamp:
06/01/2013 09:40:00 AM (11 years ago)
Author:
ocean90
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-media-list-table.php

    r24337 r24396  
    378378?>
    379379        <td <?php echo $attributes ?>>
    380             <?php do_action( 'manage_media_custom_column', $column_name, $id ); ?>
     380            <?php do_action( 'manage_media_custom_column', $column_name, $post->ID ); ?>
    381381        </td>
    382382<?php
Note: See TracChangeset for help on using the changeset viewer.