[wp-trac] [WordPress Trac] #18996: $term_id parameter not passed on "manage_{my_taxonomy}_custom_column"

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 19 01:36:28 UTC 2011


#18996: $term_id parameter not passed on "manage_{my_taxonomy}_custom_column"
--------------------------+------------------------------
 Reporter:  magicfrog     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 A correct call would be:
 {{{
 add_filter('manage_mytaxonomy_custom_column', 'manage_mytaxonomy_columns',
 10, 3);
 }}}
 Note the last parameter, which is the number of arguments accepted by the
 function.
 Also, it's a filter, not an action.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18996#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list