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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-06-01 14:44:10 +00:00
parent 9f677a0847
commit b64c0fb2f9
1 changed files with 1 additions and 0 deletions

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>