Make WordPress Core


Ignore:
Timestamp:
02/04/2009 12:31:47 PM (16 years ago)
Author:
azaozz
Message:

Fix hooks in Users/Categories/Link Categories/Tags table columns, props PeteHoliday, fixes #8788

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r10478 r10493  
    185185            default:
    186186                $output .= "<td $attributes>";
    187                 $output .= apply_filters('manage_categories_custom_column', $column_name, $category->term_id);
     187                $output .= apply_filters('manage_categories_custom_column', '', $column_name, $category->term_id);
    188188                $output .= "</td>";
    189189        }
     
    354354            default:
    355355                $output .= "<td $attributes>";
    356                 $output .= apply_filters('manage_link_categories_custom_column', $column_name, $category->term_id);
     356                $output .= apply_filters('manage_link_categories_custom_column', '', $column_name, $category->term_id);
    357357                $output .= "</td>";
    358358        }
     
    646646                default:
    647647                    $out .= "<td $attributes>";
    648                     $out .= apply_filters("manage_${taxonomy}_custom_column", $column_name, $tag->term_id);
     648                    $out .= apply_filters("manage_${taxonomy}_custom_column", '', $column_name, $tag->term_id);
    649649                    $out .= "</td>";
    650650            }
     
    18931893            default:
    18941894                $r .= "<td $attributes>";
    1895                 $r .= apply_filters('manage_users_custom_column', $column_name, $user_object->ID);
     1895                $r .= apply_filters('manage_users_custom_column', '', $column_name, $user_object->ID);
    18961896                $r .= "</td>";
    18971897        }
Note: See TracChangeset for help on using the changeset viewer.