Home Forums Plugin Support WP User Frontend Pro Delete button doesn't work in dashboard

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 6 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1341

    Post count: 6

    The when using the front-end dashboard, the ‘delete' button doesn't delete my posts.


    Tareq Hasan
    Post count: 2831

    Oh Damn! You are right.

    There is a small typo on the code. You can fix that by going to the /class/frontend-dashboard.php line 160. The current line is as this: $del_url = add_query_arg( array('action' => 'del', 'pid' => get_permalink( $original_post )) );. Please change the line by this one: $del_url = add_query_arg( array('action' => 'del', 'pid' => $post->ID) );

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Delete button doesn't work in dashboard’ is closed to new replies.