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:
parent
9f677a0847
commit
b64c0fb2f9
|
@ -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' ) . '&action=deleteuser&id=' . $user->ID ) ) ) . '" class="delete">' . __( 'Delete' ) . '</a>';
|
||||
}
|
||||
|
||||
$actions = apply_filters( 'ms_user_row_actions', $actions, $user );
|
||||
echo $this->row_actions( $actions );
|
||||
?>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue