[wp-trac] [WordPress Trac] #2762: manage_posts_custom_column bug
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 1 15:00:43 GMT 2006
#2762: manage_posts_custom_column bug
-----------------------+----------------------------------------------------
Id: 2762 | Status: new
Component: General | Modified: Thu Jun 1 15:00:43 2006
Severity: normal | Milestone: 2.0.3
Priority: normal | Version: 2.0.2
Owner: anonymous | Reporter: kriz
-----------------------+----------------------------------------------------
If you use the manage_posts_custom_column action, in your function you
won't get the post id. wp-admin/edit.php row 219:[[BR]]
{{{
<td><?php do_action('manage_posts_custom_column', $column_name, $id);
?></td>
}}}
I think it should be this:[[BR]]
{{{
<td><?php do_action('manage_posts_custom_column', array($column_name,
$post->ID)); ?></td>
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/2762>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list