Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87

git-svn-id: https://develop.svn.wordpress.org/trunk@18090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2011-06-01 14:44:10 +00:00
parent 2960bcac77
commit f3b35cf893

View File

@ -192,6 +192,7 @@ class WP_MS_Users_List_Table extends WP_List_Table {
$actions['delete'] = '<a href="' . $delete = esc_url( network_admin_url( add_query_arg( '_wp_http_referer', urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ), wp_nonce_url( 'edit.php', 'deleteuser' ) . '&amp;action=deleteuser&amp;id=' . $user->ID ) ) ) . '" class="delete">' . __( 'Delete' ) . '</a>';
}
$actions = apply_filters( 'ms_user_row_actions', $actions, $user );
echo $this->row_actions( $actions );
?>
</td>